Module plugin/retryWhen

The plugin that retries the latest task if the observable emits true.

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

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

Index

Interfaces

Functions