TxProcessor Class

Packages > @anticrm/core > TxProcessor

Signature:

export declare class TxProcessor 

Constructors

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

Methods

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

Constructors

TxProcessor.(constructor)

Constructs a new instance of the TxProcessor class

Signature:

constructor(indices: DomainIndex[]);

Parameters

List of parameters
Parameter Type Description
indices DomainIndex[]

Methods

process

Signature:

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

Parameters

List of parameters
Parameter Type Description
ctx TxContext
tx Tx

Returns:

Promise<any>