Snippets created by Matt Collins
Memoize a function in a thread-safe manner.
Added a wrapper around the value a. The idea being, that a unit value is represented as a null value at run time and as such the concurrent dictionary throws.
9 people like this
Like the snippet!
Posted: 4 years ago by