Task-based asynchronous memo hook
Task equivalent to useMemo hook allowing to perform asynchronous memorized transformations
Task execution is automatically interrupted in case of hook re-render or unmounting. This way, only one task is running at the given time
resulting task resolve type
initial value available immediately
task taskFunction to be invoked to get transformed value
depandency list
memorized value, current execution status (running or not) and cancellation function
Generated using TypeDoc
Task-based asynchronous memo hook
Task equivalent to useMemo hook allowing to perform asynchronous memorized transformations
Task execution is automatically interrupted in case of hook re-render or unmounting. This way, only one task is running at the given time