Hierarchy

Implements

Constructors

Properties

clients: Dictionary<string, Socket> = ...
commands: CommandSuite

An empty command suite

databases: Dictionary<string, Database> = ...
host: string

The host or IP that we're listening to

logger: Logger = ...
port: number

The port we're listening to

scripts: Dictionary<string, string> = ...
state: Dictionary<string, string> = ...
captureRejectionSymbol: typeof captureRejectionSymbol
captureRejections: boolean

Sets or gets the default captureRejection value for all emitters.

defaultMaxListeners: number
errorMonitor: typeof errorMonitor

This symbol shall be used to install a listener for only monitoring 'error' events. Listeners installed using this symbol are called before the regular 'error' listeners are called.

Installing a listener using this symbol does not change the behavior once an 'error' event is emitted, therefore the process will still crash if no regular 'error' listener is installed.

Methods

  • Parameters

    • event: string | symbol
    • Rest ...args: any[]

    Returns boolean

  • Parameters

    • emitter: EventEmitter
    • event: string | symbol

    Returns number

    Deprecated

    since v4.0.0

  • Parameters

    Returns Promise<any[]>

  • Parameters

    Returns Promise<any[]>