Convenience method for waiting a given time period (in seconds plus optional milliseconds). Implements the same interface as CTRL function delay().
Seconds to wait before continuing.
Milliseconds to wait before continuing.
Promise - will be resolved after given time interval is elapsed.
delay()
import { WinccoaManager, delay } from 'winccoa-manager';const winccoa = new WinccoaManager();await delay(1, 500); // wait for 1.5 seconds Copy
import { WinccoaManager, delay } from 'winccoa-manager';const winccoa = new WinccoaManager();await delay(1, 500); // wait for 1.5 seconds
Convenience method for waiting a given time period (in seconds plus optional milliseconds). Implements the same interface as CTRL function delay().