removeAndSet

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

Semantically, calls removeState and then set