annotate Implab/IPromiseT.cs @ 244:eee3e49dd1ff v3

working on promises
author cin
date Thu, 25 Jan 2018 19:09:16 +0300
parents cbe10ac0731e
children fb70574741a1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
66
790e8a997d30 Refactoring
cin
parents:
diff changeset
1 using System;
790e8a997d30 Refactoring
cin
parents:
diff changeset
2
75
4439140706d0 major refactoring, added tasks support
cin
parents: 72
diff changeset
3 namespace Implab {
119
2573b562e328 Promises rewritten, added improved version of AsyncQueue
cin
parents: 106
diff changeset
4 public interface IPromise<out T> : IPromise {
66
790e8a997d30 Refactoring
cin
parents:
diff changeset
5
242
cbe10ac0731e Working on promises
cin
parents: 144
diff changeset
6 void On(Action<T> success, Action<Exception> error);
76
c761fc982e1d Refactoring of the IPromise<T> interface
cin
parents: 75
diff changeset
7
144
8c0b95069066 DRAFT: refactoring
cin
parents: 138
diff changeset
8 new T Join();
8c0b95069066 DRAFT: refactoring
cin
parents: 138
diff changeset
9
8c0b95069066 DRAFT: refactoring
cin
parents: 138
diff changeset
10 new T Join(int timeout);
66
790e8a997d30 Refactoring
cin
parents:
diff changeset
11 }
790e8a997d30 Refactoring
cin
parents:
diff changeset
12 }