|
|
|
|
|
by el33th40r
4006 days ago
|
|
Nice description. The Node event loop pretty much defines the general shape of all APIs that work in Node. When we were porting HyperDex to Node, the greatest challenge was to integrate the data store with the async event loop [1]. The resulting callback oriented programs look strange at first to people coming from a traditional thread-oriented background, but they have an elegance of their own. [1] http://hyperdex.org/doc/latest/NodeAPI/ |
|
Putting the error first would enable Async or Promise libs to work...