btw, the params order for callbacks is not very node-y in HyperDex. It should be (err, result) instead of (result, err).
Putting the error first would enable Async or Promise libs to work...
Putting the error first would enable Async or Promise libs to work...
[1] http://hyperdex.org/doc/latest/NodeAPI/