3.75 GB
76,734 files
Updated 3 months ago
Ctrl+K
| Name | Size | Uploaded | Xet hash |
|---|---|---|---|
| tests | 1 items | ||
| CHANGELOG.md | 357 Bytes xet | c0fadff5 | |
| LICENSE | 1.51 kB xet | dabe1ea9 | |
| README.md | 822 Bytes xet | ca7e27c4 | |
| index.d.ts | 1.38 kB xet | 9f0b3550 | |
| index.js | 2.35 kB xet | c30ae2f7 | |
| package.json | 554 Bytes xet | ef69645d |
@protobufjs/eventemitter
A minimal event emitter.
API
new EventEmitter()
Constructs a new event emitter instance.EventEmitter#on(evt:
string, fn:function, [ctx:Object]):EventEmitter
Registers an event listener.EventEmitter#off([evt:
string], [fn:function]):EventEmitter
Removes an event listener or any matching listeners if arguments are omitted.EventEmitter#emit(evt:
string, ...args:*):EventEmitter
Emits an event by calling its listeners with the specified arguments.
License: BSD 3-Clause License
- Total size
- 3.75 GB
- Files
- 76,734
- Last updated
- Sep 11
- Pre-warmed CDN
- US EU US EU