annotate Implab/IResolvable`1.cs @ 275:6fefd5811b9b v3

refactoring
author cin
date Fri, 27 Apr 2018 16:57:30 +0300
parents fb70574741a1
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
246
5aa9cfbe56c3 missing files
cin
parents:
diff changeset
1 using System;
5aa9cfbe56c3 missing files
cin
parents:
diff changeset
2
5aa9cfbe56c3 missing files
cin
parents:
diff changeset
3 namespace Implab {
5aa9cfbe56c3 missing files
cin
parents:
diff changeset
4
247
fb70574741a1 working on promises
cin
parents: 246
diff changeset
5 public interface IResolvable<in T> {
246
5aa9cfbe56c3 missing files
cin
parents:
diff changeset
6 void Resolve(T value);
5aa9cfbe56c3 missing files
cin
parents:
diff changeset
7
5aa9cfbe56c3 missing files
cin
parents:
diff changeset
8 void Reject(Exception reason);
5aa9cfbe56c3 missing files
cin
parents:
diff changeset
9
5aa9cfbe56c3 missing files
cin
parents:
diff changeset
10 }
5aa9cfbe56c3 missing files
cin
parents:
diff changeset
11 }