removeAndSet

open suspend override fun removeAndSet(toRemove: T, toSet: T)(source)

Semantically, calls removeState and then set