Package-level declarations
Types
Link copied to clipboard
The EventEmitter class is defined and exposed by the node:events module:
Link copied to clipboard
Integrates EventEmitter with AsyncResource for EventEmitters that require manual async tracking. Specifically, all events emitted by instances of events.EventEmitterAsyncResource will run within its async context.
Link copied to clipboard
sealed external interface EventEmitterAsyncResourceOptions : AsyncResourceOptions, EventEmitterOptions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The NodeEventTarget is a Node.js-specific extension to EventTarget that emulates a subset of the EventEmitter API.
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
inline fun EventListener(noinline fn: (Any?, Any?, Any?, Any?, Any?, Any?, Any?) -> Unit): EventListener