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

    Module plugin/abortWhen

    The plugin that aborts the pending task if the observable emits false.

    import abortWhen from 'react-executor/plugin/abortWhen';
    import navigatorOffline from 'react-executor/observable/navigatorOffline';

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

    Interfaces

    AbortWhenOptions

    Functions

    default