comparison Implab/IPromise.cs @ 96:daffa72a1cec v2

Added the chaining method to the non-generic IPromise
author cin
date Thu, 30 Oct 2014 10:06:16 +0300
parents c761fc982e1d
children 8ddf1648eca4
comparison
equal deleted inserted replaced
95:0141a165d032 96:daffa72a1cec
28 bool IsCancelled { get; } 28 bool IsCancelled { get; }
29 29
30 IPromise Then(Action success, ErrorHandler error, Action cancel); 30 IPromise Then(Action success, ErrorHandler error, Action cancel);
31 IPromise Then(Action success, ErrorHandler error); 31 IPromise Then(Action success, ErrorHandler error);
32 IPromise Then(Action success); 32 IPromise Then(Action success);
33
34 IPromise Chain(Func<IPromise> chained, ErrorHandler<IPromise> error, Action cancel);
35 IPromise Chain(Func<IPromise> chained, ErrorHandler<IPromise> error);
36 IPromise Chain(Func<IPromise> chained);
33 37
34 /// <summary> 38 /// <summary>
35 /// Добавляет последнй обработчик в цепочку обещаний, не создает промежуточных обещаний. 39 /// Добавляет последнй обработчик в цепочку обещаний, не создает промежуточных обещаний.
36 /// </summary> 40 /// </summary>
37 /// <param name="success">Success.</param> 41 /// <param name="success">Success.</param>