writeIfNone

fun writeIfNone(value: Any?): (DatasyncValue) -> TransactionOperation

Transaction function that atomically sets a given value to a data node only if it had no value.

This function is expected to be passed to the DatasyncNode.runTransaction method.