using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Implab { public interface IPromiseBase: ICancellable { /// /// Check whereather the promise has no more than one dependent promise. /// bool IsExclusive { get; } bool IsResolved { get; } bool IsCancelled { get; } IPromiseBase Then(Action success,ErrorHandler error); IPromiseBase Then(Action success); } }