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

    Module observable/navigatorOffline

    The observable that emits true if the device is disconnected from the network, and emits false if the device if connected to the network.

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

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

    Variables

    default