diff Implab/IPromiseT.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 d4e38929ce36
line wrap: on
line diff
--- a/Implab/IPromiseT.cs	Sat Nov 08 10:02:47 2014 +0300
+++ b/Implab/IPromiseT.cs	Sun Nov 09 23:03:45 2014 +0300
@@ -7,11 +7,11 @@
 
         new T Join(int timeout);
 
-        void Last(Action<T> success, Action<Exception> error, Action cancel);
+        void On(Action<T> success, Action<Exception> error, Action cancel);
         
-        void Last(Action<T> success, Action<Exception> error);
+        void On(Action<T> success, Action<Exception> error);
 
-        void Last(Action<T> success);
+        void On(Action<T> success);
 
         IPromise<T> Then(Action<T> success, Func<Exception,T> error, Action cancel);