Mercurial > pub > ImplabNet
diff Implab/IPromise.cs @ 104:5f10d54b45df v2
renamed Promise.Last -> Promise.On
Promise.On doesn't changes Promise.IsExclusive property
author | cin |
---|---|
date | Sun, 09 Nov 2014 23:03:45 +0300 |
parents | 279e226dffdd |
children | 2573b562e328 |
line wrap: on
line diff
--- a/Implab/IPromise.cs Sat Nov 08 10:02:47 2014 +0300 +++ b/Implab/IPromise.cs Sun Nov 09 23:03:45 2014 +0300 @@ -41,9 +41,10 @@ /// <param name="success">Success.</param> /// <param name="error">Error.</param> /// <param name="cancel">Cancel.</param> - void Last(Action success, Action<Exception> error, Action cancel); - void Last(Action success, Action<Exception> error); - void Last(Action success); + void On(Action success, Action<Exception> error, Action cancel); + void On(Action success, Action<Exception> error); + void On(Action success); + void On(Action success, PromiseEventType events); IPromise Error(Action<Exception> error); /// <summary>