API reference / @evolu/common / Evolu/Protocol / ApplyProtocolMessageAsRelayOptions
Interface: ApplyProtocolMessageAsRelayOptions
Defined in: packages/common/src/Evolu/Protocol.ts:1003
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
broadcast? | (ownerId, message) => void | To broadcast a protocol message to all subscribers. | packages/common/src/Evolu/Protocol.ts:1011 |
rangesMaxSize? | number & Brand<"Int"> & Brand<"Between3000-100000"> | - | packages/common/src/Evolu/Protocol.ts:1014 |
subscribe? | (ownerId) => void | To subscribe an owner for broadcasting. | packages/common/src/Evolu/Protocol.ts:1005 |
totalMaxSize? | number & Brand<"Int"> & Brand<"Between1000000-100000000"> | - | packages/common/src/Evolu/Protocol.ts:1013 |
unsubscribe? | (ownerId) => void | To unsubscribe an owner from broadcasting. | packages/common/src/Evolu/Protocol.ts:1008 |