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 EventEmitter
s 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
class EventInstance<out P : ERROR CLASS: Symbol not found for Tuple>(emitter: EventEmitter, type: EventType)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
fun <P : ERROR CLASS: Symbol not found for Tuple> EventInstance<P>.asFlow(): ERROR CLASS: Symbol not found for Flow<P>
Link copied to clipboard
inline fun EventListener(noinline fn: (Any?, Any?, Any?, Any?, Any?, Any?, Any?) -> Unit): EventListener
Link copied to clipboard
suspend operator fun <P : ERROR CLASS: Symbol not found for Tuple> EventInstance<P>.iterator(): ERROR CLASS: Symbol not found for SuspendIterator<P>