The plugin that detaches an executor that isn't active after a delay.
import detachInactive from 'react-executor/plugin/detachInactive';const executor = useExecutor('test', 42, [ detachInactive({ delayBeforeActivated: 5_000 }),]); Copy
import detachInactive from 'react-executor/plugin/detachInactive';const executor = useExecutor('test', 42, [ detachInactive({ delayBeforeActivated: 5_000 }),]);
The plugin that detaches an executor that isn't active after a delay.