Releases: purescript-node/purescript-node-event-emitter
Releases · purescript-node/purescript-node-event-emitter
v3.0.0
Implements changes based on feedback from https://discourse.purescript.org/t/rfc-eventemitter-bindings-and-http2-bindings/3584/8
Breaking Changes:
- changes the EventHandle suffix from
Handleto justH(e.g.closeHandle->closeH) - reorders the
emitterarg to be last in all listener-adding functions to enableeventEmitter # on eventNameH \args -> ...style of coding - renames functions to drop the
Subscribepart. Now,onreturns a callback that removes the listener. If this is not desired, thenon_just adds the listener with no way to remove it via callback.
Other Improvements:
- updating docs
- adding
EventHandleXup to 7 args - making
spago -x test.dhall installactually work by writing thetest.dhallfile slightly differently - defined
JsSymboland wrote bindings forSymbol.forandSymbol.keyFor, and aShowinstance
v2.0.0
Account for all listener adding/removing situations and subtype problem.
v1.0.1
Add missing license
v1.0.0
Initial release