PacketArgs<Defined in: modules/network/src/shared/packet.ts:107 Arguments of the typed send methods after the definition: the payload, which can be left out when it acceptsT> =undefinedextendsT? [data?:T,options?:ChannelOptions] : [data:T,options?:ChannelOptions]
undefined (a packet without payload is
void), then the options.
Type Parameters
T
T
Payload type of the packet.