comparison Implab/IPromise.cs @ 144:8c0b95069066 v2

DRAFT: refactoring
author cin
date Fri, 06 Mar 2015 15:45:26 +0300
parents f75cfa58e3d4
children ec91a6dfa5b3
comparison
equal deleted inserted replaced
143:16f926ee499d 144:8c0b95069066
56 /// If the cancelation handler is specified and the current promise is cancelled then the dependent 56 /// If the cancelation handler is specified and the current promise is cancelled then the dependent
57 /// promise will be resolved after the handler is executed. If the cancelation handler raises the 57 /// promise will be resolved after the handler is executed. If the cancelation handler raises the
58 /// exception it will be passed to the dependent promise. 58 /// exception it will be passed to the dependent promise.
59 /// </para> 59 /// </para>
60 /// </remarks> 60 /// </remarks>
61 IPromise Then(Action success, Action<Exception> error, Action<Exception> cancel); 61 /* IPromise Then(Action success, Action<Exception> error, Action<Exception> cancel);
62 IPromise Then(Action success, Action<Exception> error); 62 IPromise Then(Action success, Action<Exception> error);
63 IPromise Then(Action success); 63 IPromise Then(Action success);
64 64
65 IPromise Chain(Func<IPromise> chained, Func<Exception, IPromise> error, Func<Exception, IPromise> cancel); 65 IPromise Chain(Func<IPromise> chained, Func<Exception, IPromise> error, Func<Exception, IPromise> cancel);
66 IPromise Chain(Func<IPromise> chained, Func<Exception, IPromise> error); 66 IPromise Chain(Func<IPromise> chained, Func<Exception, IPromise> error);
67 IPromise Chain(Func<IPromise> chained); 67 IPromise Chain(Func<IPromise> chained);*/
68 68
69 /// <summary> 69 /// <summary>
70 /// Adds specified listeners to the current promise. 70 /// Adds specified listeners to the current promise.
71 /// </summary> 71 /// </summary>
72 /// <param name="success">The handler called on the successful promise completion.</param> 72 /// <param name="success">The handler called on the successful promise completion.</param>