Appearance
Home > resol-vbus-core > LiveTransceiver > waitForFreeBus
LiveTransceiver.waitForFreeBus() method
Wait for the master's datagram to offer the bus control.
Signature:
typescript
waitForFreeBus(timeoutMs?: number): Promise<Datagram | null>;
Parameters
Parameter | Type | Description |
---|---|---|
timeoutMs | number | (Optional) The timeout in milliseconds. |
Promise<Datagram | null>
A promise that resolves when the datagram was received or the action timed out.