Miss any of our Open RFC calls?Watch the recordings here! »

p-void

2.0.0 • Public • Published

p-void Travis CI Build Status

Void a promise return value.

NPM Badge

Install

npm install p-void

Usage

const pVoid = require("p-void");
 
(async () => {
    await pVoid(Promise.resolve("Hello World!"))
    //=> undefined
})()

API

pVoid(promise)

promise

Type: promise

The promise to void.

Install

npm i p-void

DownloadsWeekly Downloads

0

Version

2.0.0

License

MIT

Unpacked Size

3.09 kB

Total Files

6

Last publish

Collaborators

  • avatar