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

Function: applyProtocolMessageAsClient()

function applyProtocolMessageAsClient(
  deps,
): (
  inputMessage,
  __namedParameters,
) => Result<null | ProtocolMessage, ProtocolError>;

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

Parameters

ParameterType
depsStorageDep

Returns

(inputMessage, __namedParameters): Result<
  | null
| ProtocolMessage, ProtocolError>;

Parameters

ParameterType
inputMessageUint8Array
__namedParametersApplyProtocolMessageAsClientOptions

Returns

Result< | null | ProtocolMessage, ProtocolError>

Was this page helpful?