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