TC.startTransaction

Starts a transaction.

TC.startTransaction(name);

Arguments

name. (string) The name of the transaction to start.

Return value

A promise that is fulfilled with undefined upon success.

Example

Copy code
(async ()=>{
    await TC.startTransaction("transactionName");
})();