diff Implab/IPromiseT.cs @ 247:fb70574741a1 v3

working on promises
author cin
date Fri, 26 Jan 2018 18:46:27 +0300
parents cbe10ac0731e
children
line wrap: on
line diff
--- a/Implab/IPromiseT.cs	Fri Jan 26 11:19:38 2018 +0300
+++ b/Implab/IPromiseT.cs	Fri Jan 26 18:46:27 2018 +0300
@@ -3,7 +3,7 @@
 namespace Implab {
     public interface IPromise<out T> : IPromise {
 
-        void On(Action<T> success, Action<Exception> error);
+        void Then(IResolvable<T> next);
 
         new T Join();