2 ms·
Neat page from David Fowler. I didn't know about that one. Thank you. To further explain why you want to use an AsyncLazy (or Lazy for synchronous programming)
by alexchro93 4y ago
Neat page from David Fowler. I didn't know about that one. Thank you.
To further explain why you want to use an AsyncLazy (or Lazy for synchronous programming) when working with ConcurrentDictionary I find this article to be helpful: https://andrewlock.net/making-getoradd-on-concurrentdictionary-thread-safe-using-lazy/ https://andrewlock.net/making-getoradd-on-concurrentdictiona...