Unmanaged generator callback hook
Memoizes a generator function as a task function. The hook does not cancel the returned task on unmount, dependency change, or a later call. The caller owns that task.
callback argument types
yielded underlying type
yielded task type
resulting task resolve type
task generator function
dependency list
memoized task function
useFreeTaskCallback
Unmanaged generator callback hook
Memoizes a generator function as a task function. The hook does not cancel the returned task on unmount, dependency change, or a later call. The caller owns that task.