Author Archives

Oleg Dulin

I am a software engineer and technology architect in New York City / New Jersey area. All opinions expressed here are mine and do not represent opinions of my employers and customers, nor should my opinions be construed as opinions about my employers and customers.

Copyright 2000-2019+, all rights reserved

Singleton

Singletons in TypeScript

A singleton[1] is a pattern that guarantees there is a single instance of an object in the system. A singleton can maintain a state which is shared across the entire system. Singletons abstract their internal workings from the rest of the system. Singletons are common in business applications. […]