TC.startTransaction

Starts a transaction.

TC.startTransaction(name);

Arguments

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

Return value

A promise that will be fulfilled with no arguments.

Example

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