atomic Add To Map
open override fun atomicAddToMap(key: A_BasicObject, value: A_BasicObject)
Content copied to clipboard
Extract the map from this variable, add the key → value binding to it, and write it back into the variable.
This is an atomic operation, so the update is serialized with respect to other operations on this variable.
Parameters
key
The key to add to the map.
value
The value to add to the map.
Throws
If the variable does not contain a map.
If the updated map cannot be written back.Content copied to clipboard