IPromiseT.cs
25 lines
| 675 B
| text/x-csharp
|
CSharpLexer
/ Implab / IPromiseT.cs
cin
|
r66 | using System; | ||
cin
|
r75 | namespace Implab { | ||
cin
|
r119 | public interface IPromise<out T> : IPromise { | ||
cin
|
r66 | |||
cin
|
r138 | IPromise<T> On(Action<T> success, Action<Exception> error, Action<Exception> cancel); | ||
cin
|
r76 | |||
cin
|
r119 | IPromise<T> On(Action<T> success, Action<Exception> error); | ||
cin
|
r76 | |||
cin
|
r119 | IPromise<T> On(Action<T> success); | ||
cin
|
r76 | |||
cin
|
r144 | new T Join(); | ||
new T Join(int timeout); | ||||
new IPromise<T> On(Action success, Action<Exception> error, Action<Exception> cancel); | ||||
new IPromise<T> On(Action success, Action<Exception> error); | ||||
new IPromise<T> On(Action success); | ||||
cin
|
r119 | new IPromise<T> On(Action handler, PromiseEventType events); | ||
cin
|
r66 | } | ||
} | ||||