@rocket.chat/fuselage-emitter
v0.0.1
Published
Event Emitter for Fuselage, Rocket.Chat's design system and UI toolkit
Downloads
9
Readme
@rocket.chat/fuselage-emitter
Event emitter build by Rocket.Chat
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