recoil/event-emitter

This package is abandoned and no longer maintained. No replacement package was suggested.

A coroutine-based event emitter for Recoil.

0.1.0 2014-11-24 04:35 UTC

This package is auto-updated.

Last update: 2019-05-28 03:09:12 UTC


README

Build Status Test Coverage SemVer

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.

Examples

  • 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

Contact us