zsydgithub 2f2f0c8be0 new %!s(int64=2) %!d(string=hai) anos
..
tests 2f2f0c8be0 new %!s(int64=2) %!d(string=hai) anos
LICENSE 2f2f0c8be0 new %!s(int64=2) %!d(string=hai) anos
README.md 2f2f0c8be0 new %!s(int64=2) %!d(string=hai) anos
index.d.ts 2f2f0c8be0 new %!s(int64=2) %!d(string=hai) anos
index.js 2f2f0c8be0 new %!s(int64=2) %!d(string=hai) anos
package.json 2f2f0c8be0 new %!s(int64=2) %!d(string=hai) anos

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