open fun rxCompareAndSet(expected: Long, value: Long): Single<Boolean>
Set the counter to the specified value only if the current value is the expectec value. This happens atomically.
expected - the expected value
expected
value - the new value
value
Return