IMQDelay.(constructor)

Constructs a new instance of the IMQDelay class

Signature:

constructor(
    timer: number, 
    unit?: 'ms' | 's' | 'm' | 'h' | 'd');

Parameters

Parameter

Type

Description

timer

number

delay value expressed in the given unit

unit

'ms' | 's' | 'm' | 'h' | 'd'

(Optional) time unit of the timer value; defaults to 'ms'

Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.