Documentation / @super-line/server / ClusterMessage
Interface: ClusterMessage
Defined in: cluster.ts:10
An inbound cross-node frame, as Cluster.receive reports it.
Properties
data
data:
unknown
Defined in: cluster.ts:12
The decoded frame. The NODE field is stamped in place and left visible on it.
from
from:
string
Defined in: cluster.ts:19
The node that published it ('' if the frame carries no id — e.g. a foreign or older publisher).
own
own:
boolean
Defined in: cluster.ts:21
True when this node published it: the Adapter loops every publish back to its own publisher.
raw
raw:
string|Uint8Array<ArrayBufferLike>
Defined in: cluster.ts:17
The bytes exactly as they arrived. A fan-out that relays the frame on to connections unchanged can conn.sendRaw(raw) — one pre-encoded buffer to N connections, no re-encode per recipient.