Anecdote: I successfully used es6-promisify with this module:
const client = new NatAPI()
const asyncMap = promisify(client.map.bind(client))
// ...
await asyncMap({..})
Would you consider a PR to make the API use promises entirely? I'm unsure of how legacy interoperability in node-land is handled so maybe it's not desirable, please let me know.
Anecdote: I successfully used es6-promisify with this module:
Would you consider a PR to make the API use promises entirely? I'm unsure of how legacy interoperability in node-land is handled so maybe it's not desirable, please let me know.