Mercurial > pub > ImplabNet
view Implab/IPromiseBase.cs @ 26:f0bf98e4d22c
refactoring
| author | cin | 
|---|---|
| date | Fri, 21 Feb 2014 03:15:28 +0400 | 
| parents | 9bf5b23650c9 | 
| children | 768f7deeb55b | 
line wrap: on
 line source
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Implab { public interface IPromiseBase: ICancellable { /// <summary> /// Check whereather the promise has no more than one dependent promise. /// </summary> bool IsExclusive { get; } bool IsResolved { get; } bool IsCancelled { get; } IPromiseBase Then(Action success,ErrorHandler error); IPromiseBase Then(Action success); } }
