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

    Module observable/windowBlurred

    The observable that emits true when the window looses focus, and emits false when the window receives focus.

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

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

    Variables

    default