Mercurial > pub > ImplabNet
annotate Implab/IDeferred.cs @ 132:5fb2bbffdece v2
minor fixes
| author | cin |
|---|---|
| date | Sat, 07 Feb 2015 19:41:31 +0300 |
| parents | 2573b562e328 |
| children | f75cfa58e3d4 |
| rev | line source |
|---|---|
| 119 | 1 using System; |
| 2 | |
| 3 namespace Implab { | |
| 4 /// <summary> | |
| 5 /// Deferred result, usually used by asynchronous services as the service part of the promise. | |
| 6 /// </summary> | |
| 7 public interface IDeferred : ICancellable { | |
| 8 | |
| 9 void Resolve(); | |
| 10 | |
| 11 void Reject(Exception error); | |
| 12 } | |
| 13 } | |
| 14 |
