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 any given time
resulting task resolve type
task function to be invoked as effect
dependency list
current execution status and cancellation function, as [running, cancel]
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 any given time