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.
11 people like this
Like the snippet!
Posted: 7 years ago by