Module plugin/abortDeactivated

Aborts the pending task after the delay if the executor is deactivated.

The executor must be activated at least once for this plugin to have an effect.

import abortDeactivated from 'react-executor/plugin/abortDeactivated';

const executor = useExecutor('test', heavyTask, [abortDeactivated()]);

Index

Interfaces

Functions