the callback don't follow node.js API standard signature (error parameter)
Closed this issue · 1 comments
sulliwane commented
Hello,
Here is current node-talib execute function signature:
talib.execute({ params }, (result) => console.log(result));
Is it intentional to not follow node.js standard callback signature? It should be like this:
talib.execute({ params }, (error, result) => console.log(result));
Seems the error will be thrown in the result
value.
Thank you for your feedback!
neopunisher commented
ditto on this, it makes it hard to use with libs like async