RoomPublisher: (
name: string,
data: string | Uint8Array,
exceptId?: string,
) => void
Type Declaration
-
- (name: string, data: string | Uint8Array, exceptId?: string): void
-
Parameters
- name: string
- data: string | Uint8Array
OptionalexceptId: string
Returns void
Forwards a local broadcast to peers on other replicas.
Supplied by a
RoomRegistrythat was given a backplane. A room built without one broadcasts purely in-process, which is the behavior every application had before the backplane existed.