The plugin that retries the last task if the executor is invalidated.
import retryInvalidated from 'react-executor/plugin/retryInvalidated';const executor = useExecutor('test', heavyTask, [retryInvalidated()]); Copy
import retryInvalidated from 'react-executor/plugin/retryInvalidated';const executor = useExecutor('test', heavyTask, [retryInvalidated()]);
The plugin that retries the last task if the executor is invalidated.