API reference / @evolu/common / Evolu/Protocol / ApplyProtocolMessageAsRelayResult

Interface: ApplyProtocolMessageAsRelayResult

Defined in: packages/common/src/Evolu/Protocol.ts:1026

Result type for applyProtocolMessageAsRelay.

Unlike ApplyProtocolMessageAsClientResult, relays always respond with a message to provide sync completion feedback. This ensures the initiator can reliably detect when synchronization is complete, even when there's nothing to sync. Clients may choose not to respond in certain cases (like when they receive broadcast messages or when they lack a write key for syncing).

Properties

PropertyModifierTypeDefined in
messagereadonlyProtocolMessagepackages/common/src/Evolu/Protocol.ts:1028
typereadonly"response"packages/common/src/Evolu/Protocol.ts:1027

Was this page helpful?