Wait
function Wait(
ctx: SelectableRequired<TcHmi.Context, 'success' | 'error'>,
time?: number
): voidStarts a timer and signals Success as soon as the timer has expired.
Parameter
Name | Type | Description |
|---|---|---|
ctx | SelectableRequired<TcHmi.Context, 'success' | 'error'> | The context |
time | The time to wait in milliseconds |
Return value
Type | Description |
|---|---|
- | - |
![]() | Available from version 1.12 |
