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