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