Module plugin/retryWhen

The plugin that retries the latest task if the observable pushes false and then true.

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

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

Index

Functions