DefaultMapStore

Holds map in memory, protected with a Mutex, to ensure a basic form of thread-safety.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open suspend override fun get(key: T): U?

Implementers: Return the value associated with key

Link copied to clipboard
open suspend override fun put(key: T, value: U)

Implementers: Associate key with value

Link copied to clipboard
open suspend override fun remove(key: T): U?

Implementers: Return and remove the value associated with key