From c2010109222c7aebee65c0848083e9bbb0c2c4af Mon Sep 17 00:00:00 2001 From: Irakli Safareli Date: Wed, 9 May 2018 13:39:24 +0200 Subject: [PATCH] Add note about some runtime guaranties closes #148 --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 0f524f9..6429a62 100644 --- a/README.md +++ b/README.md @@ -79,6 +79,9 @@ exports._ajaxGet = function (request) { // accepts a request req.cancel(); // cancel the request cancelerSuccess(); // invoke the success callback for the canceler }; + // Note: + // - If onError/onSuccess is called, then canceler function will never be called, + // - If the Aff computation is canceled, called onError/onSuccess will do nothing. }; }; ```