@User uploaded a file:
Untitled and commented: The above snippet is a function for memoizing suspending functions.
What I really want (I think) is a coroutine-friendly equivalent to ConcurrentHashMap, but in the meantime does this approach seem plausible?