CoreProtocol Interface

Packages > @anticrm/core > CoreProtocol

Signature:

export interface CoreProtocol extends DocumentProtocol 

Extends: DocumentProtocol

Properties

List of properties of this interface
Property Type Description
genRefId (_space: Ref<Space>) => Promise<Ref<VDoc>> Generate a sequence, short object reference.
tx (tx: Tx) => Promise Process a transaction on server

Events

genRefId

Generate a sequence, short object reference.

Signature:

genRefId: (_space: Ref<Space>) => Promise<Ref<VDoc>>;

tx

Process a transaction on server

Signature:

tx: (tx: Tx) => Promise<any>;