@rocket.chat/fuselage-emitter
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

Rocket.Chat

@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

/@rocket.chat/fuselage-emitter/

    Package Sidebar

    Install

    npm i @rocket.chat/fuselage-emitter

    Weekly Downloads

    1

    Version

    0.0.1

    License

    MIT

    Unpacked Size

    45.5 kB

    Total Files

    11

    Last publish

    Collaborators

    • dougfabris
    • rocketchat-buildmaster
    • geekgonecrazy
    • rodrigok
    • sing.li
    • diegosampaio
    • gazzo
    • dgubert
    • tassoevan