0.0.2 • Published 6 years ago
yugo-utils v0.0.2
yugo-utils
Usage
import install from 'yugo-utils'
install()
const { go, error, shouldWait } = Promise.ready<number>()
const number = 20
setTimeout(() => {
go(number)
}, 20)
shouldWait.then(console.log) // -> 20