@rubens.lopes/esperar
v1.0.2
Published
awaitable timeout
Downloads
5
Readme
Esperar
Micro lib com o intuito de viabilizar o uso de timeouts de maneira assíncrona.
Exemplo
import esperar from `@rubens.lopes/esperar`
console.log(`espera 3 segundos`)
await esperar(3)
console.log(`esperou 3 segundos`)