Mercurial > pub > ImplabNet
annotate Implab/IPromiseT.cs @ 243:b1e0ffdf3451 v3
working on promises
| author | cin |
|---|---|
| date | Wed, 24 Jan 2018 19:24:10 +0300 |
| parents | cbe10ac0731e |
| children | fb70574741a1 |
| rev | line source |
|---|---|
| 66 | 1 using System; |
| 2 | |
| 75 | 3 namespace Implab { |
|
119
2573b562e328
Promises rewritten, added improved version of AsyncQueue
cin
parents:
106
diff
changeset
|
4 public interface IPromise<out T> : IPromise { |
| 66 | 5 |
| 242 | 6 void On(Action<T> success, Action<Exception> error); |
| 76 | 7 |
| 144 | 8 new T Join(); |
| 9 | |
| 10 new T Join(int timeout); | |
| 66 | 11 } |
| 12 } |
