newTVar

open fun <A> newTVar(a: A): TVar<A>

Create a new TVar inside a transaction, because TVar.new is not possible inside STM transactions.