Mercurial > pub > ImplabNet
diff Implab/IPromise.cs @ 11:6ec82bf68c8e promises
refactoring
author | cin |
---|---|
date | Tue, 05 Nov 2013 01:09:58 +0400 |
parents | aa33d0bb8c0c |
children | eb418ba8275b |
line wrap: on
line diff
--- a/Implab/IPromise.cs Sun Nov 03 18:07:38 2013 +0400 +++ b/Implab/IPromise.cs Tue Nov 05 01:09:58 2013 +0400 @@ -24,11 +24,10 @@ } /// <summary> - /// Tries to cancel the promise or the complete chain. + /// Tries to cancel the the complete chain of promises. /// </summary> - /// <param name="dependencies">Try to cancel the whole promise chain, the parent promise will be cancelled only if it has only one promise</param> - /// <returns></returns> - bool Cancel(bool dependencies); + /// <returns><c>true</c> - if the promise has been cancelled, otherwise the promise will be resolved (or resolved already).</returns> + bool Cancel(); /// <summary> /// Registers handler for the case when the promise is cencelled. If the promise already cancelled the