TxIndex Class

Packages > @anticrm/core > TxIndex

Signature:

export declare class TxIndex implements DomainIndex 

Implements: DomainIndex

Constructors

List of constructors for this class
Constructor Modifiers Description
(constructor)(storage) Constructs a new instance of the TxIndex class

Methods

List of methods on this class
Method Modifiers Description
tx(ctx, tx)

Constructors

TxIndex.(constructor)

Constructs a new instance of the TxIndex class

Signature:

constructor(storage: Storage);

Parameters

List of parameters
Parameter Type Description
storage Storage

Methods

tx

Signature:

tx(ctx: TxContext, tx: Tx): Promise<any>;

Parameters

List of parameters
Parameter Type Description
ctx TxContext
tx Tx

Returns:

Promise<any>