Skip to content

Commit

Permalink
add onstart event parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Smef committed Jun 10, 2024
1 parent 21a4fc9 commit b5f415d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ Here's a quick summary for people who don't want to leave this page:

- Lifecycle Hooks
- `onBefore()`
- `onStart()`
- `onStart({ request, options })`
- `onSuccess({ request, options, response })` - Runs after the request. Called only if the request is successful.
- `onError({ request, options, response, errors })` - Runs after the request. Called only if the request fails.
- `onFinish({ request, options, response })` - Always runs after the request, after `onSuccess` or `onError`
Expand Down

0 comments on commit b5f415d

Please sign in to comment.