Map of Mutexes that automatically (lazily) generates a new Mutex for any new key
Disposes of this MutexMap by canceling all pending operations on all mutexes and clearing the map. After disposal, the MutexMap should not be used.
Retrieves the Mutex associated with the given ID. If no Mutex exists for the provided ID, a new Mutex is created, stored, and returned.
Unique identifier for the desired Mutex
The Mutex associated with the provided ID
Map of Mutexes that automatically (lazily) generates a new Mutex for any new key