yielded underlying type
yielded task type
resulting task resolve type
callback returning the started task
Use useGeneratorCallback when the generator returns void. This hook remains for generators that return a result.
Convenience binding of useCompatGeneratorCallbackState
The returned callback yields the started task. Running status and cancel are omitted; cancel that task from the callback result.
callback argument types