Appearance
Home > resol-vbus-core > LiveEncoder > suspendWithTimeout
LiveEncoder.suspendWithTimeout() method
Suspend the encoder with timeout and optional callback.
Signature:
typescript
suspendWithTimeout(milliseconds: number, callback?: () => void): void;
Parameters
Parameter | Type | Description |
---|---|---|
milliseconds | number | The timeout in milliseconds. |
callback | () => void | (Optional) The callback. |
void