From b5f415dc979bbd48e64a967131aa689dfaaf3361 Mon Sep 17 00:00:00 2001 From: David Nahodyl Date: Mon, 10 Jun 2024 15:10:01 -0400 Subject: [PATCH] add onstart event parameter --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 868de99..285265d 100644 --- a/README.md +++ b/README.md @@ -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`