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

    Module plugin/invalidateWhen

    The plugin that invalidates the settled executor result when the observable emits true.

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

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

    Interfaces

    InvalidateWhenOptions

    Functions

    default