Module plugin/invalidatePeers

The plugin that invalidates peer executors with matching keys if the executor is fulfilled or invalidated.

import invalidatePeers from 'react-executor/plugin/invalidatePeers';

const executor = useExecutor('test', 42, [
invalidatePeers(executor => executor.key === 'exact_executor_key')
]);

Index

Functions