usingReliableWrite
Initiates a reliable write transaction for a given characteristic.
The purpose of queued writes is to queue up writes of values of multiple attributes in a first-in first-out queue and then execute the write on all of them in a single atomic operation.
Use ReliableWriteScope.writeReliably to write the value of supported characteristic and descriptors reliably.
All queued writes will be executed in a single atomic operation. If any of the write operations throws ValueDoesNotMatchException, the whole transaction will be aborted.
Parameters
operations
The lambda that will be called to queue the writes.