##// END OF EJS Templates
fixed Resove method bug when calling it on already cancelled promise
fixed Resove method bug when calling it on already cancelled promise

File last commit:

r119:2573b562e328 v2
r130:671f60cd0250 v2
Show More
IPromiseT.cs
34 lines | 1.1 KiB | text/x-csharp | CSharpLexer
cin
Refactoring
r66 using System;
cin
major refactoring, added tasks support
r75 namespace Implab {
cin
Promises rewritten, added improved version of AsyncQueue
r119 public interface IPromise<out T> : IPromise {
cin
Refactoring
r66
new T Join();
cin
major refactoring, added tasks support
r75
cin
Refactoring
r66 new T Join(int timeout);
cin
Promises rewritten, added improved version of AsyncQueue
r119 IPromise<T> On(Action<T> success, Action<Exception> error, Action cancel);
cin
Refactoring of the IPromise<T> interface...
r76
cin
Promises rewritten, added improved version of AsyncQueue
r119 IPromise<T> On(Action<T> success, Action<Exception> error);
cin
Refactoring of the IPromise<T> interface...
r76
cin
Promises rewritten, added improved version of AsyncQueue
r119 IPromise<T> On(Action<T> success);
cin
Refactoring of the IPromise<T> interface...
r76
cin
Promises rewritten, added improved version of AsyncQueue
r119 new IPromise<T> On(Action handler, PromiseEventType events);
IPromise<T2> Then<T2>(Func<T, T2> mapper, Func<Exception,T2> error, Func<T2> cancel);
cin
Refactoring of the IPromise<T> interface...
r76
cin
code cleanup...
r101 IPromise<T2> Then<T2>(Func<T, T2> mapper, Func<Exception,T2> error);
cin
Refactoring of the IPromise<T> interface...
r76
cin
code cleanup...
r101 IPromise<T2> Then<T2>(Func<T, T2> mapper);
cin
Refactoring of the IPromise<T> interface...
r76
cin
Promises rewritten, added improved version of AsyncQueue
r119 IPromise<T2> Chain<T2>(Func<T, IPromise<T2>> chained, Func<Exception,IPromise<T2>> error, Func<IPromise<T2>> cancel);
cin
Refactoring of the IPromise<T> interface...
r76
cin
code cleanup...
r101 IPromise<T2> Chain<T2>(Func<T, IPromise<T2>> chained, Func<Exception,IPromise<T2>> error);
cin
Refactoring of the IPromise<T> interface...
r76
cin
code cleanup...
r101 IPromise<T2> Chain<T2>(Func<T, IPromise<T2>> chained);
cin
major refactoring, added tasks support
r75
cin
Promises rewritten, added improved version of AsyncQueue
r119 IPromise<T2> Error<T2>(Func<Exception,T2> error);
cin
Refactoring
r66
cin
Promises rewritten, added improved version of AsyncQueue
r119 IPromise<T2> Cancelled<T2>(Func<T2> handler);
cin
Refactoring
r66 }
}