mirror of
https://github.com/musix-org/musix-oss
synced 2024-12-23 22:33:17 +00:00
14 lines
451 B
Markdown
14 lines
451 B
Markdown
@protobufjs/aspromise
|
|
=====================
|
|
[![npm](https://img.shields.io/npm/v/@protobufjs/aspromise.svg)](https://www.npmjs.com/package/@protobufjs/aspromise)
|
|
|
|
Returns a promise from a node-style callback function.
|
|
|
|
API
|
|
---
|
|
|
|
* **asPromise(fn: `function`, ctx: `Object`, ...params: `*`): `Promise<*>`**<br />
|
|
Returns a promise from a node-style callback function.
|
|
|
|
**License:** [BSD 3-Clause License](https://opensource.org/licenses/BSD-3-Clause)
|