diff Implab/IDispatcher.cs @ 248:5cb4826c2c2a v3

Added awaiters to promises Added static methods to Promise Resolve, Reject, All. Updated promise helpers
author cin
date Tue, 30 Jan 2018 01:37:17 +0300
parents eee3e49dd1ff
children
line wrap: on
line diff
--- a/Implab/IDispatcher.cs	Fri Jan 26 18:46:27 2018 +0300
+++ b/Implab/IDispatcher.cs	Tue Jan 30 01:37:17 2018 +0300
@@ -3,5 +3,7 @@
 namespace Implab {
     public interface IDispatcher {
         void Enqueue(Action job);
+
+        void Enqueue<T>(Action<T> job, T arg);
     }
 }
\ No newline at end of file