API reference › @evolu/common › local‑first/Protocol › applyProtocolMessageAsClient
function applyProtocolMessageAsClient(
inputMessage: Uint8Array,
options?: ApplyProtocolMessageAsClientOptions,
): Task<
ApplyProtocolMessageAsClientResult,
| ProtocolInvalidDataError
| ProtocolVersionError
| ProtocolWriteKeyError
| ProtocolWriteError
| ProtocolSyncError
| ProtocolQuotaError,
StorageDep
>;
Defined in: packages/common/src/local-first/Protocol.ts:941