Type Alias DataPublishOptions

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

Type declaration

  • OptionaldestinationIdentities?: string[]

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

  • Optionalreliable?: 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.

  • Optionaltopic?: string

    the topic under which the message gets published