Mercurial > pub > ImplabNet
annotate Implab/IPromiseBase.cs @ 27:a236cd1f0477
fixes
author | cin |
---|---|
date | Mon, 03 Mar 2014 08:59:03 +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 } |