Variable clientMessageConst
clientMessage: Type<
| { entityId: `leaf:${string}`; type: "unsubscribe" }
| {
entityId: `leaf:${string}`;
snapshot: Uint8Array<ArrayBufferLike>;
type: "subscribe";
}
| {
entityId: `leaf:${string}`;
type: "sendUpdate";
update: Uint8Array<ArrayBufferLike>;
},
{},
> = ...
Type verifier for client messages.