liyongli 90aec58cf5 初始化 3 years ago
..
tests 90aec58cf5 初始化 3 years ago
LICENSE 90aec58cf5 初始化 3 years ago
README.md 90aec58cf5 初始化 3 years ago
index.d.ts 90aec58cf5 初始化 3 years ago
index.js 90aec58cf5 初始化 3 years ago
package.json 90aec58cf5 初始化 3 years 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