-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Asynchronous function using callback/promise is the DNA of JavasSript and Node.js. Any non-trivial JS app is probably permeated with this coding style. But this practice can easily lead to so called callback pyramid of doom. Even worse, if any code in any caller in the call chain depends on the result of the async function, those code has to be wrapped in callback function as well, imposing a coding style constraint on caller. From time to time I find the need to encapsulate an async function (often provided in a 3rd party library) into a sync function in order to avoid massive global re-factoring. Searching for a solution on this subject usually ended up with Node Fibers or npm packages derived from it. But Fibers just cannot solve the problem I am facing. Even the example provided by Fibers' author illustrated the deficiency:
Related posts
-
Cyber Security: A Pre-War Reality Check
-
wxHexEditor — a Free Hex Editor / Disk Editor for Huge Files or Devices
-
Ubershaders: A Ridiculous Solution to an Impossible Problem (2017)
-
Non-Euclidean Doom: what happens to a game when pi is not 3.14159 (2022) [video]
-
Playstation 4 Jailbroken using bug from 2006