SuspendMutableMap
A mutable map with suspendable, non-blocking operations, designed for asynchronous access in coroutine-based environments. This interface mirrors the standard MutableMap, but its functions are suspendable to allow for implementations that perform I/O, network requests, or other long-running tasks without blocking a thread.
Implementations of this interface are expected to be safe for concurrent use.
Parameters
The type of keys maintained by this map.
The type of mapped values.
Inheritors
Functions
Checks if this map contains a mapping for the specified key. This is a suspendable, non-blocking operation.
Returns a read-only Collection of all values in this map. The returned collection may be a snapshot or a live view, depending on the implementation. This is a suspendable, non-blocking operation.