LazilyFfiMessageKind enum

The IPC message kind discriminant (schemas/ffi.json#/$defs/LazilyFfiMessageKind).

Derived by decoding a frame as IpcMessage and matching on the variant. crdtSync = 3 is normative: the FFI message kind discriminant MUST include it (the multi-writer plane rides the same transport).

Inheritance
Available extensions

Values

unknown → const LazilyFfiMessageKind

Unknown / unset.

const LazilyFfiMessageKind(0)
snapshot → const LazilyFfiMessageKind

An IpcMessageSnapshot.

const LazilyFfiMessageKind(1)
delta → const LazilyFfiMessageKind

An IpcMessageDelta.

const LazilyFfiMessageKind(2)
crdtSync → const LazilyFfiMessageKind

An IpcMessageCrdtSync — the multi-writer CRDT plane.

const LazilyFfiMessageKind(3)
resyncRequest → const LazilyFfiMessageKind

An IpcMessageResyncRequest — reliable-sync gap-recovery control frame (#lzsync, reverse channel).

const LazilyFfiMessageKind(4)
outboxAck → const LazilyFfiMessageKind

An IpcMessageOutboxAck — reliable-sync ack/resume-cursor control frame (#lzsync, reverse channel).

const LazilyFfiMessageKind(5)

Properties

code int
The integer wire discriminant.
final
hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromCode(int code) LazilyFfiMessageKind
Decode the integer discriminant, returning unknown for an out-of-range value (matches the C enum's zero-default).

Constants

values → const List<LazilyFfiMessageKind>
A constant List of the values in this enum, in order of their declaration.