Documentation
Client
Type-aliases
EventPingListener

Type Alias: EventPingListener()

EventPingListener: (received, payload) => void

Defined in: src/client.ts:136

The first argument communicates whether the ping was received from the server. If false, the ping was sent by the client.

Parameters

received

boolean

payload

PingMessage["payload"]

Returns

void