Need examples of running multiple queries in a single transaction using JavaScript without using "await"

I cannot find any definitely working examples online of running multiple queries inside a single transaction using JavaScript without using "await".

The closest thing I have is the following:

const tx = session.beginTransaction();
tx.run("CREATE (p:Person { name: $name })", { name: "Adam" })
    .then(res => {
        // Run another query with the tx variable...
    })
    .then(() => {
        // Everything is OK, the transaction will be committed
    })
    .catch(e => {
        // The transaction will be rolled back, now handle the error.
    });

From: Using the Neo4j Driver with NodeJS - Adam Cowley | Full Stack Development Lead specialising in Neo4j and Node JS

However, I can't figure out how to write in a second query.

I'd be grateful for any help.

Thank you.

I need the example too.
I rummaged through all the documents, but I can't find the result.