DEV Community

Discussion on: The Proper Way to Write Async Constructors in JavaScript

Collapse
 
loige profile image
Luciano Mammino

Another interesting technique is pre-initialization queue which is commonly used in many libraries (e.g. mongoose). Mario Casciaro has done an interesting Twitter thread on this some time ago: twitter.com/mariocasciaro/status/1...

BTW really nice article, keep them coming :)

Collapse
 
dandv profile image
Dan Dascalescu
Collapse
 
gka profile image
Gregor Aisch

We’ve heard you