This library contains various datastructures and algorithms that are not "common" enough to be in the csense-kotlin library.
A very normal pattern is to set a value once, especially booleans
var x = false
fun doSomething() {
if (x) {
return
}
x = true
//more code here
}val x = SetOnceBool(false)
fun doSomething() = x.lockWithAction {
}