Appearance
Home > resol-vbus-core > LiveTransceiver > waitForAnyHeader
LiveTransceiver.waitForAnyHeader() method
Wait for any VBus header.
Signature:
typescript
waitForAnyHeader(timeoutMs: number): Promise<Header | null>;
Parameters
Parameter | Type | Description |
---|---|---|
timeoutMs | number | The timeout in milliseconds. |
Promise<Header | null>
A promise that resolves when the header is received or the action timed out.