Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MessageMeta

Metadata for a message passed to Collab.receive.

Hierarchy

  • MessageMeta

Index

Properties

isLocalOp: boolean

Whether the update is for local operations, i.e., it results from calling Collab methods on this replica.

runtimeExtra: unknown

Optionally, the runtime may include extra metadata in this field.

This field is intended for use by Collab implementations, not event listeners.

For example, [[CRuntime]] puts [[CRDTMessageMeta]] here. To access that more easily, consider extending [[PrimitiveCRDT]].

senderID: string

The replicaID that sent the message.

updateType: "message"

The update's type.

Generated using TypeDoc