##// END OF EJS Templates
Merge
Merge

File last commit:

r33:b255e4aeef17 default
r56:4fcbe7a4b36b merge default
Show More
IPromise.cs
31 lines | 995 B | text/x-csharp | CSharpLexer
cin
inital progress handling
r7 using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Implab
{
cin
refactoring
r25 public interface IPromise<T>: IPromiseBase
cin
inital progress handling
r7 {
cin
refactoring
r26
cin
removed the reference to the parent from the promise object this allows...
r33 new T Join();
new T Join(int timeout);
cin
refactoring
r25
cin
refactoring
r26 IPromise<T> Then(ResultHandler<T> success, ErrorHandler error);
IPromise<T> Then(ResultHandler<T> success, ErrorHandler<T> error);
IPromise<T> Then(ResultHandler<T> success);
cin
removed the reference to the parent from the promise object this allows...
r33 new IPromise<T> Error(ErrorHandler error);
cin
refactoring
r26 IPromise<T> Error(ErrorHandler<T> error);
cin
refactoring
r25
cin
refactoring
r26 IPromise<T2> Map<T2>(ResultMapper<T,T2> mapper, ErrorHandler error);
IPromise<T2> Map<T2>(ResultMapper<T, T2> mapper);
cin
inital progress handling
r7
cin
refactoring
r26 IPromise<T2> Chain<T2>(ChainedOperation<T, T2> chained, ErrorHandler error);
IPromise<T2> Chain<T2>(ChainedOperation<T, T2> chained);
cin
removed the reference to the parent from the promise object this allows...
r33 new IPromise<T> Cancelled(Action handler);
new IPromise<T> Finally(Action handler);
new IPromise<T> Anyway(Action handler);
cin
inital progress handling
r7
}
}