Optional
onOptional
onFunction fires before mutation function and is passed same variables mutation function would receive. Value returned from this function will be passed to both onError and onSettled functions in event of a mutation failure.
Optional
onFunction fires when mutation is either successfully fetched or encounters error
Optional
onFunction fires when mutation is successful and will be passed the mutation's result
Generated using TypeDoc
Function fires if mutation encounters error