Mercurial > pub > ImplabNet
comparison Implab/IPromise.cs @ 25:9bf5b23650c9
refactoring
| author | cin |
|---|---|
| date | Thu, 06 Feb 2014 01:08:59 +0400 |
| parents | e3935fdf59a2 |
| children | f0bf98e4d22c |
comparison
equal
deleted
inserted
replaced
| 24:ee04e1fa78da | 25:9bf5b23650c9 |
|---|---|
| 3 using System.Linq; | 3 using System.Linq; |
| 4 using System.Text; | 4 using System.Text; |
| 5 | 5 |
| 6 namespace Implab | 6 namespace Implab |
| 7 { | 7 { |
| 8 public interface IPromise: ICancellable | 8 public interface IPromise<T>: IPromiseBase |
| 9 { | 9 { |
| 10 /// <summary> | 10 |
| 11 /// Check whereather the promise has no more than one dependent promise. | 11 |
| 12 /// </summary> | 12 |
| 13 bool IsExclusive | |
| 14 { | |
| 15 get; | |
| 16 } | |
| 17 | 13 |
| 18 | 14 |
| 19 } | 15 } |
| 20 } | 16 } |
