set

fun STM.set(value: Long)(source)

Sets the counter to value within an STM transaction.