Skip to content

Home > resol-vbus-core > LiveTransceiverActionOptions

LiveTransceiverActionOptions interface

Options for action methods.

Signature:

typescript
export interface LiveTransceiverActionOptions<R> extends Required<LiveTransceiverActionTriesAndTimeouts>

Extends: Required<LiveTransceiverActionTriesAndTimeouts>

Properties

Property

Modifiers

Type

Description

onDatagram?

(dgram: Datagram) => R | null

(Optional) Callback for each received datagram.

onPacket?

(packet: Packet) => R | null

(Optional) Callback for each received packet.

onPerform?

(encoder: LiveEncoder) => void

(Optional) Callback that performs the active part of an action for each try.

onTelegram?

(tgram: Telegram) => R | null

(Optional) Callback for each received telegram.