annotate Implab/IDispatcher.cs @ 262:f1696cdc3d7a v3 v3.0.8

Added IInitializable.Initialize() overload Added IRunnable.Start(), IRunnable.Start() overloads Fixed cancellation of the current operation when Stop() is called More tests
author cin
date Mon, 16 Apr 2018 02:12:39 +0300
parents 5cb4826c2c2a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
244
eee3e49dd1ff working on promises
cin
parents:
diff changeset
1 using System;
eee3e49dd1ff working on promises
cin
parents:
diff changeset
2
eee3e49dd1ff working on promises
cin
parents:
diff changeset
3 namespace Implab {
eee3e49dd1ff working on promises
cin
parents:
diff changeset
4 public interface IDispatcher {
eee3e49dd1ff working on promises
cin
parents:
diff changeset
5 void Enqueue(Action job);
248
5cb4826c2c2a Added awaiters to promises
cin
parents: 244
diff changeset
6
5cb4826c2c2a Added awaiters to promises
cin
parents: 244
diff changeset
7 void Enqueue<T>(Action<T> job, T arg);
244
eee3e49dd1ff working on promises
cin
parents:
diff changeset
8 }
eee3e49dd1ff working on promises
cin
parents:
diff changeset
9 }