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)
]);

Index

Variables