package events
- Alphabetic
- By Inheritance
- events
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- trait AddEventListenerOptions extends Object
- Annotations
- @JSType()
- trait AddListenerOptions extends Object
- Annotations
- @JSType()
- trait Domain extends Object
- Annotations
- @JSType() @native()
- trait Event extends Object
The Event object is an adaptation of the Event Web API.
The Event object is an adaptation of the Event Web API. Instances are created internally by Node.js.
- Annotations
- @JSType() @native()
- class EventEmitter extends Object with IEventEmitter
Much of the Node.js core API is built around an idiomatic asynchronous event-driven architecture in which certain kinds of objects (called "emitters") periodically emit named events that cause Function objects ("listeners") to be called.
Much of the Node.js core API is built around an idiomatic asynchronous event-driven architecture in which certain kinds of objects (called "emitters") periodically emit named events that cause Function objects ("listeners") to be called.
The EventEmitter class is defined and exposed by the events module
- Annotations
- @JSType() @native() @JSImport("events", "EventEmitter")
- See also
https://nodejs.org/api/events.html
- implicit final class EventEmitterExtensions[T <: EventEmitter] extends AnyVal
- trait EventEmitterOptions extends Object
- Annotations
- @JSType()
- trait EventTarget extends Object
- Annotations
- @JSType() @native()
- trait IEventEmitter extends Object
EventEmitter Interface
EventEmitter Interface
- Annotations
- @JSType() @native()
- trait NodeEventTarget extends Object with EventTarget
- Annotations
- @JSType() @native()
- trait RemoveEventListenerOptions extends Object
- Annotations
- @JSType()
Value Members
- object AddEventListenerOptions
- object AddListenerOptions
- object Event extends Object
- Annotations
- @native() @JSGlobal("Event")
- object EventEmitter extends Object
EventEmitter Singleton
EventEmitter Singleton
- Annotations
- @native() @JSImport("events", JSImport.Namespace)
- object EventEmitterOptions
- object RemoveEventListenerOptions