Task-invoking hook
Task equivalent to useEffect hook allowing to perform asynchronous operations as effects
Task execution is automatically interrupted in case of effect re-render or unmounting. This way, only one task is running at the given time
resulting task resolve type
task taskFunction to be invoked as effect
dependency list
current execution status (running or not) and cancellation function
Generated using TypeDoc
Task-invoking hook
Task equivalent to useEffect hook allowing to perform asynchronous operations as effects
Task execution is automatically interrupted in case of effect re-render or unmounting. This way, only one task is running at the given time