atomicRemoveFromMap

abstract fun atomicRemoveFromMap(key: A_BasicObject)

Extract the map from this variable, remove the key if present, 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 remove from the map.

Throws

If the variable does not contain a map.

    If the updated map cannot be written back.