Properties
Optional
onError
onError?: ((error, query) => void)
Type declaration
- (error, query): void
Returns void
Optional
onSettled
onSettled?: ((data, error, query) => void)
Type declaration
- (data, error, query): void
Parameters
data: unknown
error: unknown
query: Query<unknown, unknown, unknown, QueryKey>
Returns void
Optional
onSuccess
onSuccess?: ((data, query) => void)
Type declaration
- (data, query): void
Returns void