##// END OF EJS Templates
Added Skip method to JSON parser to skip contents of the current node
Added Skip method to JSON parser to skip contents of the current node

File last commit:

r33:b255e4aeef17 default
r62:62b440d46313 default
Show More
IPromiseBase.cs
37 lines | 1019 B | text/x-csharp | CSharpLexer
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Implab {
public interface IPromiseBase: ICancellable {
/// <summary>
/// Check whereather the promise has no more than one dependent promise.
/// </summary>
bool IsExclusive {
get;
}
/// <summary>
/// Тип результата, получаемого через данное обещание.
/// </summary>
Type PromiseType { get; }
bool IsResolved { get; }
bool IsCancelled { get; }
IPromiseBase Then(Action success,ErrorHandler error);
IPromiseBase Then(Action success);
IPromiseBase Error(ErrorHandler error);
IPromiseBase Anyway(Action handler);
IPromiseBase Finally(Action handler);
IPromiseBase Cancelled(Action handler);
IPromise<T> Cast<T>();
void Join();
void Join(int timeout);
}
}