joker-gaming
Version:
สวัสดีครับ วันนี้เดี๋ยวพามาดูกัน กับเกมสล็อตออนไลน์กันดีกว่านะครับ ซึ่งเป็นเกมส์สล็อตค่าย Joker Gaming ภายใต้เว็บไซค์ที่เรียกได้ว่าที่แตกง่ายมากเลย
15 lines (12 loc) • 347 B
text/typescript
import ora from '.'
const delayO = (time: number) => new Promise(r => setTimeout(r, time))
const delayX = (time: number) => new Promise((_, r) => setTimeout(r, time))
const curried = ora('loading...')
{
const promise = curried(delayO(1000))
promise.then(console.log)
}
{
const promise = curried(delayX(1000))
promise.then(console.log)
}