Skip to content

Add halt() to execution signature#24

Merged
cowboyd merged 1 commit intomasterfrom
add-halt-to-execution-signature
Nov 4, 2019
Merged

Add halt() to execution signature#24
cowboyd merged 1 commit intomasterfrom
add-halt-to-execution-signature

Conversation

@cowboyd
Copy link
Copy Markdown
Member

@cowboyd cowboyd commented Oct 31, 2019

For each execution context, there are three possible outcomes: completed, errored, or halted. The execution interface however only accounts for two of them in the official type signatures.

Because cancellation through halt is a critical api, and is already in use in other projects, this adds it to the official type declarations.

For each execution context, there are three possible outcomes:
completed, errored, or halted. The execution interface however only
accounts for two of them in the official type signatures.

Because cancellation through halt is a critical api, and is already in
use in other projects, this adds it to the official type declarations.
@frontsidejack
Copy link
Copy Markdown
Member

A preview package of this pull request has been released to NPM with the tag add-halt-to-execution-signature.
You can try it out by running the following command:

$ npm install effection@add-halt-to-execution-signature

or by updating your package.json to:

{
  "effection": "add-halt-to-execution-signature"
}

Once the branch associated with this tag is deleted (usually once the PR is merged or closed), it will no longer be available. However, it currently references effection@0.3.2-b52c25a which will be available to install forever.

Generated by 🚫 dangerJS against b6cfa5d

@cowboyd cowboyd merged commit 6e172ec into master Nov 4, 2019
@cowboyd cowboyd deleted the add-halt-to-execution-signature branch November 4, 2019 17:07
jnicklas added a commit that referenced this pull request Feb 24, 2021
Add `catchHalt` method to convert a halt error to undefined
taras added a commit that referenced this pull request Aug 24, 2025
Removed 3.0 blog post announcement banner
taras pushed a commit that referenced this pull request Nov 12, 2025
Add `catchHalt` method to convert a halt error to undefined
taras added a commit that referenced this pull request Nov 12, 2025
Removed 3.0 blog post announcement banner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants