API reference / @evolu/common / local-first/Protocol / ApplyProtocolMessageAsClientResult
Type Alias: ApplyProtocolMessageAsClientResult
type ApplyProtocolMessageAsClientResult =
| {
message: ProtocolMessage;
type: "response";
}
| {
type: "no-response";
}
| {
type: "broadcast";
};
Defined in: packages/common/src/local-first/Protocol.ts:897
Result type for applyProtocolMessageAsClient that distinguishes between responses to client requests and broadcast messages.