Module observable/windowFocused

Observable of the document.visibilityState.

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

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

Index

Variables