True if and only if the client has a live socket connection with Spyre services. A heartbeat keeps this up to date within an epsilon.
Joins a match with the given match ID and metadata. The metadata is a key-value map of strings.
The match ID to join.
A key-value map of strings.
The number of times to retry if the join fails.
A promise that resolves to the match object.
Sends a message to the match with the given op code and payload. The payload can be a string or a byte array.
The match ID to send the message to.
The operation code.
The payload to send.
Optional
retries: numberThe number of times to retry if the message cannot be sent.
This describes an object that manages the connection to Spyre services.