annotate Implab/IDispatcher.cs @ 259:7d52dc684bbd v3

PollingComponent: implemented correct stopping
author cin
date Fri, 13 Apr 2018 03:57: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 }