Files
IM-server-new/protobuf/protobuf.js/lib/aspromise/README.md
T

451 B
Executable File

@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