##// END OF EJS Templates
fixed tests
fixed tests

File last commit:

r66:790e8a997d30 default
r73:3b8393be3441 v2
Show More
IPromise.cs
37 lines | 991 B | text/x-csharp | CSharpLexer
cin
inital progress handling
r7 using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
cin
Refactoring
r66 namespace Implab {
public interface IPromise: ICancellable {
/// <summary>
/// Check whereather the promise has no more than one dependent promise.
/// </summary>
bool IsExclusive {
get;
}
cin
refactoring
r26
cin
Refactoring
r66 /// <summary>
/// Тип результата, получаемого через данное обещание.
/// </summary>
Type PromiseType { get; }
cin
refactoring
r25
cin
Refactoring
r66 bool IsResolved { get; }
bool IsCancelled { get; }
cin
refactoring
r25
cin
Refactoring
r66 IPromise Then(Action success,ErrorHandler error);
IPromise Then(Action success);
IPromise Error(ErrorHandler error);
IPromise Anyway(Action handler);
IPromise Finally(Action handler);
IPromise Cancelled(Action handler);
cin
inital progress handling
r7
cin
Refactoring
r66 IPromise<T> Cast<T>();
cin
refactoring
r26
cin
Refactoring
r66 void Join();
void Join(int timeout);
cin
inital progress handling
r7
}
}