sync-async-ctor
A base class that serves to make an otherwise asynchronous constructor into a seemingly synchronous one.
Usage
const InitBase = ; { // createConnection will be initiliazed by the base class supercreateConnection; } { // calling init in derived methods handles queuing and ensures the asynchronous task has completed before continuing this; }