A coroutine-based event emitter for Recoil.
Event Emitter provides an event emitter for Recoil. The event emitter is coroutine-based, meaning that the listeners attached to events are executed as coroutines by the Recoil kernel.
The package also contains an event emitter designed to encapsulate an Événement event emitter (as used by React). This allows for the execution of coroutines in response to events emitted outside of Recoil.
- emit - Use an event emitter to emit events
- evenement - Wrap an Événement event emitter
- wait - Suspend execution of a strand until an event occurs