Sylvain Filoni
update gradio client
9ada4bc
raw
history blame contribute delete
234 Bytes
export function nextTick(callback: () => void) {
setTimeout(callback, 0)
}
export function nextTickAsync(callback: () => void) {
return new Promise((resolve) => {
setTimeout(() => {
resolve(callback())
}, 0)
})
}