Optional
options: { batchIntervalMs?: number; initialValue?: T; isUnreliable?: boolean }Object containing initialValue and isUnreliable
Optional
meta: Many<Metadata for serialization
Optional
name: Caller<"text">Optional
uuid: Caller<"uuid">Optional
returnType: Generic<ReturnType<T>, "text">The return type of the callback. If "void" or undefined, a SignalPacket is created. Otherwise, a RequestPacket is created.
A Packet of type T
Create a Packet that intelligently chooses between signal,request, and property packets based on the type of T.