Mercurial > pub > ImplabNet
view Implab/IPromiseBase.cs @ 28:81708975d6f7
fixes
author | cin |
---|---|
date | Mon, 03 Mar 2014 09:00:23 +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); } }