##// 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
IPromise.cs
31 lines | 995 B | text/x-csharp | CSharpLexer
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Implab
{
public interface IPromise<T>: IPromiseBase
{
new T Join();
new T Join(int timeout);
IPromise<T> Then(ResultHandler<T> success, ErrorHandler error);
IPromise<T> Then(ResultHandler<T> success, ErrorHandler<T> error);
IPromise<T> Then(ResultHandler<T> success);
new IPromise<T> Error(ErrorHandler error);
IPromise<T> Error(ErrorHandler<T> error);
IPromise<T2> Map<T2>(ResultMapper<T,T2> mapper, ErrorHandler error);
IPromise<T2> Map<T2>(ResultMapper<T, T2> mapper);
IPromise<T2> Chain<T2>(ChainedOperation<T, T2> chained, ErrorHandler error);
IPromise<T2> Chain<T2>(ChainedOperation<T, T2> chained);
new IPromise<T> Cancelled(Action handler);
new IPromise<T> Finally(Action handler);
new IPromise<T> Anyway(Action handler);
}
}