adamant-api / index / TransactionHandler
Type Alias: TransactionHandler<T>
ts
type TransactionHandler<T> = (transaction) => void | Promise<void>;Defined in: src/helpers/wsClient.ts:83
Type Parameters
| Type Parameter |
|---|
T extends AnyTransaction |
Parameters
| Parameter | Type |
|---|---|
transaction | T |
Returns
void | Promise<void>