|
|
|
|
|
by nippur72
3628 days ago
|
|
nice small lib as you'd expect from @gianlucaguarini (of Riot.js fame). Also, it's async/await ready: const allora = require('allora')
const myGlobal = allora(global)
async function foo() {
console.log("start")
await myGlobal.setTimeout(2000)
console.log("end")
}
foo()
|
|