Skip to content

Allow onSuccess to be async, causing isLoading to wait for resolution #2209

Answered by TkDodo
jtparrett asked this question in Ideas
Discussion options

You must be logged in to vote

But it would be really handy if onSuccess could accept an async function which will be awaited before isLoading is set to true.

you mean before isLoading is set to false? Anyways, what problem are you trying to solve please?

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@jtparrett
Comment options

@TkDodo
Comment options

@jtparrett
Comment options

Answer selected by jtparrett
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants