Mercurial > pub > ImplabNet
comparison 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 |
comparison
equal
deleted
inserted
replaced
247:fb70574741a1 | 248:5cb4826c2c2a |
---|---|
1 using System; | 1 using System; |
2 | 2 |
3 namespace Implab { | 3 namespace Implab { |
4 public interface IDispatcher { | 4 public interface IDispatcher { |
5 void Enqueue(Action job); | 5 void Enqueue(Action job); |
6 | |
7 void Enqueue<T>(Action<T> job, T arg); | |
6 } | 8 } |
7 } | 9 } |