Experimental
An alias for calling BatchContextLiveCounter.increment(-amount)
The amount by which to decrease the counter value.
Experimental
Similar to the increment method, but instead, it adds an operation to increment the counter value to the current batch, to be sent in a single message to the Ably service.
This does not modify the underlying data of this object. Instead, the change is applied when the published operation is echoed back to the client and applied to the object. To get notified when object gets updated, use the subscribe method.
The amount by which to increase the counter value.
Generated using TypeDoc
A wrapper around the LiveCounter object that enables batching operations inside a BatchCallback.