The plugin that invalidates the settled executor result after the timeout.
import invalidateAfter from 'react-executor/plugin/invalidateAfter';const executor = useExecutor('test', 42, [invalidateAfter(5_000)]); Copy
import invalidateAfter from 'react-executor/plugin/invalidateAfter';const executor = useExecutor('test', 42, [invalidateAfter(5_000)]);
The plugin that invalidates the settled executor result after the timeout.