Skip to content

API reference / @chanx-js/server / core / BroadcastOptions

Interface: BroadcastOptions ​

Defined in: packages/server/src/consumer.ts:47

Where a broadcast goes, and whether it skips the sender.

Properties ​

excludeCurrent? ​

ts
optional excludeCurrent?: boolean;

Defined in: packages/server/src/consumer.ts:51

Skip this connection. Defaults to false.


groups? ​

ts
optional groups?: readonly string[];

Defined in: packages/server/src/consumer.ts:49

Defaults to every group this connection joined.

MIT licensed