Mercurial > pub > ImplabNet
annotate Implab/IPromiseBase.cs @ 28:81708975d6f7
fixes
| author | cin |
|---|---|
| date | Mon, 03 Mar 2014 09:00:23 +0400 |
| parents | f0bf98e4d22c |
| children | 768f7deeb55b |
| rev | line source |
|---|---|
| 25 | 1 using System; |
| 2 using System.Collections.Generic; | |
| 3 using System.Linq; | |
| 4 using System.Text; | |
| 5 | |
| 6 namespace Implab { | |
| 7 public interface IPromiseBase: ICancellable { | |
| 8 /// <summary> | |
| 9 /// Check whereather the promise has no more than one dependent promise. | |
| 10 /// </summary> | |
| 11 bool IsExclusive { | |
| 12 get; | |
| 13 } | |
| 14 | |
| 15 bool IsResolved { get; } | |
| 16 | |
| 17 bool IsCancelled { get; } | |
| 26 | 18 |
| 19 IPromiseBase Then(Action success,ErrorHandler error); | |
| 20 IPromiseBase Then(Action success); | |
| 21 | |
| 25 | 22 } |
| 23 } |
