Closed BigAB closed 7 years ago
I really like this PR! Sorry I haven't gotten around to this --- I think we can merge but want to get #7 merged in first!
Rebased onto master
Added docs to Readme
thx a lot @BigAB / looks great! publishing in 5.3
💜
As an alternative to #4 I propose you just add this feature:
If no
callback
is supplied, return a promise, otherwise behave exactly as before.This will work now, without waiting for node to be supported on lambda and will continue to work with async functions on node 8.
I tried to match the code style, I could of course change anything you don't like.