TxProcessor Class
Packages > @anticrm/core > TxProcessor
Signature:
export declare class TxProcessor
Constructors
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(indices) | Constructs a new instance of the TxProcessor class |
Methods
| Method | Modifiers | Description |
|---|---|---|
| process(ctx, tx) |
Constructors
TxProcessor.(constructor)
Constructs a new instance of the TxProcessor class
Signature:
constructor(indices: DomainIndex[]);
Parameters
| Parameter | Type | Description |
|---|---|---|
| indices | DomainIndex[] |
Methods
process
Signature:
process(ctx: TxContext, tx: Tx): Promise<any>;
Parameters
| Parameter | Type | Description |
|---|---|---|
| ctx | TxContext | |
| tx | Tx |
Returns:
Promise<any>