samchon / tstl

TypeScript-STL (Standard Template Library, migrated from C++)
MIT License
602 stars 49 forks source link

Add new feature, `MutableSingleton.clear()` #99

Closed samchon closed 2 years ago

samchon commented 2 years ago

A new method clearing cached value into the MutableSingleton.

Therefore, when MutableSingleton.get() method being called, the value would be re-constructed.