0.0.1 • Published 4 years ago

@rocket.chat/fuselage-emitter v0.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

@rocket.chat/fuselage-emitter

Event emitter build by Rocket.Chat

License: MIT

Issues Pull requests GitHub commit activity

npm@latest npm@next dev deps optional deps peer deps npm bundle size npm downloads npm collaborators

Install

yarn add @rocket.chat/fuselage-emitter

API Reference

Table of Contents

OffCallbackHandler

returned by an on/once method, can be used to turn off the subscription

Type: function (): void

Handler

Handler callback

Type: function (event: T): void

emitter

Emitter Class

Returns Emitter