Interface TransactionWorkerEvents

Defines the events emitted by the transaction worker during various stages of transaction processing. * transactionSent - Emitted when a transaction is successfully sent. transactionSendFailed - Emitted when sending a transaction fails. transactionExecuted - Emitted when a transaction is successfully executed. transactionExecutionFailed - Emitted when executing a transaction fails. executionFinish - Emitted when the execution process is finished.

interface TransactionWorkerEvents {
    executionFinish: ((data: ExecutionFinishEventData) => void);
    transactionExecuted: ((data: SuccessEventData) => void);
    transactionExecutionFailed: ((data: FailureEventData) => void);
    transactionSendFailed: ((data: FailureEventData) => void);
    transactionSent: ((data: SuccessEventData) => void);
}

Properties

executionFinish: ((data: ExecutionFinishEventData) => void)
transactionExecuted: ((data: SuccessEventData) => void)
transactionExecutionFailed: ((data: FailureEventData) => void)
transactionSendFailed: ((data: FailureEventData) => void)
transactionSent: ((data: SuccessEventData) => void)