Module plugin/abortPending

The plugin that aborts the pending task with TimeoutError if the task execution took longer then the given timeout.

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

const executor = useExecutor('test', heavyTask, [
abortPending(10_000)
]);

Index

Functions