diff Implab/IDeferredT.cs @ 119:2573b562e328 v2

Promises rewritten, added improved version of AsyncQueue
author cin
date Sun, 11 Jan 2015 19:13:02 +0300
parents
children 16f926ee499d
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Implab/IDeferredT.cs	Sun Jan 11 19:13:02 2015 +0300
@@ -0,0 +1,10 @@
+using System;
+
+namespace Implab {
+    public interface IDeferred<T> : ICancellable {
+        void Resolve(T value);
+
+        void Reject(Exception error);
+    }
+}
+