Properties
Private #activity
#activity: number = ...
Private #ephemeral
#ephemeral: boolean
Private Optional #ephemeralCheck
#ephemeralCheck?: Timeout
Private #expectAuth
#expectAuth: boolean = false
Private #log
#log: Debugger
ActiveRequests
ActiveRequests: Set<string> = ...
Address
Address: string
Authed
Authed: boolean = false
AwaitingAuth
AwaitingAuth: Map<string, boolean>
ConnectTimeout
ConnectTimeout: number = DefaultConnectTimeout
Down
Down: boolean = true
EventsCallback
EventsCallback: Map<string, ((msg) => void)>
Type declaration
- (msg): void
Parameters
msg: (string | boolean)[]
Returns void
HasStateChange
HasStateChange: boolean = true
Id
Id: string
Optional Info
IsClosed
IsClosed: boolean
PendingRaw
PendingRaw: object[] = []
PendingRequests
PendingRequests: { cb: (() => void); cmd: [cmd
: "REQ", id
: string, ...filters
: ReqFilter[]]; }[] = [] Type declaration
cb: (() => void)
cmd: [cmd: "REQ", id: string, ...filters: ReqFilter[]]
Optional ReconnectTimer
ReconnectTimer?: Timeout
Settings
Socket
Socket: null | WebSocket = null
Stats
Stats: ConnectionStats = ...
Static prefixed
prefixed: string | boolean
Queue or send command to the relay