Skip to content

Support promise cancellation - #9

Merged
WyriHaximus merged 3 commits into
reactphp:mainfrom
clue-labs:cancellation
Nov 15, 2021
Merged

Support promise cancellation#9
WyriHaximus merged 3 commits into
reactphp:mainfrom
clue-labs:cancellation

Conversation

@clue

@clueclue commented Nov 15, 2021

Copy link
Copy Markdown
Member

This changeset adds support for promise cancellation. Once a task fails, it will no longer start any additional tasks and will cancel all pending tasks. Additionally, you can call cancel() on the resulting promise to cancel all pending tasks.

Builds on top of #7

@clueclue added the new feature New feature or request label Nov 15, 2021
@clueclue added this to the v2.0.0 milestone Nov 15, 2021
@WyriHaximus
WyriHaximus merged commit a112d86 into reactphp:mainNov 15, 2021
@clue
clue deleted the cancellation branch November 15, 2021 15:13
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new featureNew feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@clue@WyriHaximus@SimonFrings