resulting task resolve type
callback returning the started task
Use useTaskCallback when the callback task resolves to void. This hook remains for callbacks whose task resolves to a result.
Convenience binding of useCompatTaskCallbackState
The returned callback yields the started task. Running status and cancel are omitted; cancel that task from the callback result.
callback argument types