Snippets tagged concurrent
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.
10 people like this
Like the snippet!
Posted: 6 years ago by