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. }; }; ```