This repository has been archived by the owner on Oct 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert change of visible behavior in
CancelableOperation
. (#208)
* Revert change of visible behavior in `CancelableOperation`. A prior change made it so that a `.then` on a `CancelableOperation` would call the `onValue`/`onError` callback even if the returned operation was cancelled beteen the time of the `then` and the time the original operation completed. The result would not show up in the cancelled operation, but the callbacks would run. This change blocks calling the callbacks if the returned operation has been cancelled.
- Loading branch information
Showing
2 changed files
with
82 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters