-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Publisher#scanWith(ScanWithMapper) incorrect/missing terminal after c…
…ancel (#1458) Motivation: Publisher#scanWith(ScanWithMapper) may not deliver a terminal event after cancel is invoked. The operator may also deliver an internally generated error due to state management incorrectly indicated a terminal event has already been seen (e.g. duplicate terminal with violates RS spec) or invalid requestN demand was previously seen. Modifications: - cancel should not update state to TERMINATED Result: Publisher#scanWith(ScanWithMapper) will deliver terminal events after cancel and won't deliver internal errors at incorrect times.
- Loading branch information
1 parent
92b55e3
commit 8f3db89
Showing
2 changed files
with
110 additions
and
28 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