Type alias DataPublishOptions

DataPublishOptions: {
    destinationIdentities?: string[];
    reliable?: boolean;
    topic?: string;
}

Type declaration

  • Optional destinationIdentities?: string[]

    the identities of participants who will receive the message, will be sent to every one if empty

  • Optional reliable?: boolean

    whether to send this as reliable or lossy. For data that you need delivery guarantee (such as chat messages), use Reliable. For data that should arrive as quickly as possible, but you are ok with dropped packets, use Lossy.

  • Optional topic?: string

    the topic under which the message gets published

Generated using TypeDoc