orbit-server-etcd / orbit.server.etcd / EtcdNodeDirectory / compareAndSet

compareAndSet

suspend fun compareAndSet(key: NodeId, initialValue: NodeInfo?, newValue: NodeInfo?): Boolean