I'm writing a package that uses async/await. Obviously, this gives issues for versions of Node before 7.6.Is there a safe way I can overload method calls so that they support async/await in later versions of Node, but also support .then callbacks in earlier versions?
Submitted May 22, 2019 at 01:48PM by StaterOfTheObvious
No comments:
Post a Comment