itcast 6e512b8ce6 aaaa 3 months ago
..
tests 6e512b8ce6 aaaa 3 months ago
LICENSE 6e512b8ce6 aaaa 3 months ago
README.md 6e512b8ce6 aaaa 3 months ago
index.d.ts 6e512b8ce6 aaaa 3 months ago
index.js 6e512b8ce6 aaaa 3 months ago
package.json 6e512b8ce6 aaaa 3 months ago

README.md

@protobufjs/aspromise

npm

Returns a promise from a node-style callback function.

API

  • asPromise(fn: function, ctx: Object, ...params: *): Promise<*>
    Returns a promise from a node-style callback function.

License: BSD 3-Clause License