React Executor - v0.0.24
    Preparing search index...

    Module plugin/rejectPendingAfter

    The plugin that aborts the pending task and rejects the executor with TimeoutError if the task execution took longer then the delay.

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

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

    Functions

    default