Skip to content

Commit

Permalink
docs: add signal property
Browse files Browse the repository at this point in the history
  • Loading branch information
BerkliumBirb committed Oct 14, 2024
1 parent a2e92f5 commit 55729d3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,10 @@ to your target environment.

(default: `0`)

- **`signal`**: [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal)

When `signal` is aborted any further attempts. Similar to calling `context.abort()` manually.

- **`handleError`**: `(err, context, options) => Promise<void> | void`

`handleError` is a function that will be invoked when an error occurs
Expand Down

0 comments on commit 55729d3

Please sign in to comment.