Thanks to visit codestin.com
Credit goes to github.com

Skip to content

progging/vente

Repository files navigation

VENTE

Promise-based functions for waiting around.

Install

npm i -S vente or yarn add vente

Usage

import { wait, pending } from 'vente'

//...

await wait(1000)

//...

const pendingPromise = pending()

pendingPromise.resolve().then(() => alert('resolved!'))

// Or

pendingPromise.reject().catch(() => alert('rejected!'))

Test

npm i && npm t

License

MIT

About

`Promise`-based functions for waiting around.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •