Optionaloptions: { batchIntervalMs?: number; initialValue?: T; isUnreliable?: boolean }Object containing initialValue and isUnreliable
Optionalmeta: Many<Metadata for serialization
Optionalname: Caller<"text">Optionaluuid: Caller<"uuid">OptionalreturnType: 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.