Generator-based asynchronous memo hook
Generator version of task-memo converting generator to compound task first
Task execution is automatically interrupted in case of hook re-render or unmounting. This way, only one task is running at the given time
yielded task type
resulting task resolve type
initial value available immediately
task generator function
dependency list
memorized value, current execution status (running or not) and cancellation function
useTaskMemoState
Generated using TypeDoc
Generator-based asynchronous memo hook
Generator version of task-memo converting generator to compound task first
Task execution is automatically interrupted in case of hook re-render or unmounting. This way, only one task is running at the given time