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

    Module plugin/abortPendingAfter

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

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

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

    Functions

    default