Optional
content?: anyType of the content
argument received by the handler.
Optional
gets?: SerializableThe type received from the send
Optional
getsIf different socket connections send different types through the get
method, we can map specific socket names to different types. Overrides the gets property
Optional
returns?: anyReturn type of the communication method.
Optional
sends?: SerializableThe type Sent to the connecting socket via the send method
Optional
sendsIf the types sent differ based on which socket is targeted, this option can map different types to specific connection names. Overrides the sends property.
Generated using TypeDoc
This type is used to define the types involved in a communication preset.