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

    Module observable/windowFocused

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

    import retryWhen from 'react-executor/plugin/retryWhen';
    import windowFocused from 'react-executor/observable/windowFocused';

    const executor = useExecutor('test', heavyTask, [
    retryWhen(windowFocused)
    ]);

    Variables

    default