tree: d304751b8439014688012d57c0b5e47d80173a35 [path history] [tgz]
  1. tests/
  2. index.d.ts
  3. index.js
  4. LICENSE
  5. package.json
  6. README.md
lib/aspromise/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