new

suspend fun <A> new(a: A): TVar<A>(source)

Return a new TVar

More efficient than atomically { newVar(a) } because it skips creating a transaction.