mutate Map Item With Ttl
abstract fun mutateMapItemWithTtl(mapSidOrUniqueName: String, itemKey: String, ttlSeconds: Long, mutator: SyncMutator, callback: SuccessListener<SyncMapJava.Item>): CancellationToken
Mutate value of the SyncMapJava.Item using provided Mutator function.
Return
CancellationToken which allows to cancel network request.
Parameters
map Sid Or Unique Name
SID or unique name of existing SyncMapJava.
item Key
Key of the item to mutate.
mutator
SyncMutator which will be applied to the map item.
ttl Seconds
Time to live in seconds from now or 0 to indicate no expiry.
callback
Async result listener that will receive new value of the SyncMapJava.Item in its onSuccess() callback or any error in onFailure() callback.