• Create async callback if set timeout value - else call function immediately

    Type Parameters

    • T = any

    Parameters

    • callback: ((...args: T[]) => void)
        • (...args: T[]): void
        • Parameters

          • Rest ...args: T[]

          Returns void

    • timeout: number
    • Rest ...args: T[]

    Returns number

Jodit PRO

If you like Jodit - try Jodit PRO