promisify

PromiseOptions

Name
Type
Description

callbacks

(() => void)[] | Promise[]

List of callbacks

callAtOnce = false

boolean

Picture below

interval = 100

number

[callAtOnce: true] updates interval in ms

App without promisify, with promisify() and with promisify({ callAtOnce: true })

promisify function

promise(options)

Last updated