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

Function: createProtocolMessageForSync()

function createProtocolMessageForSync(
  deps,
): (ownerId) => null | ProtocolMessage;

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

Creates a ProtocolMessage for sync.

Parameters

ParameterType
depsStorageDep

Returns

(ownerId):
  | null
  | ProtocolMessage;

Parameters

ParameterType
ownerIdstring & Brand<"Id"> & Brand<"OwnerId">

Returns

| null | ProtocolMessage

Was this page helpful?