Skip to content

Serial

[<Interface>]
type Serial =
    static member Create (getPorts: unit -> Promise<SerialPort array>, requestPort: SerialPortRequestOptions option -> Promise<SerialPort>, addEventListener: Action<string,EventListenerOrEventListenerObject option,U2<bool,AddEventListenerOptions> option>, dispatchEvent: Event -> bool, removeEventListener: Action<string,EventListenerOrEventListenerObject option,U2<bool,EventListenerOptions> option>) : Serial
    abstract member getPorts () : Promise<SerialPort array>
    abstract member requestPort (?options: SerialPortRequestOptions) : Promise<SerialPort>
AssemblyXantham.Fable.Core.TS
ImplementsEventTarget
Attributes[<Interface>]

Methods

static member Create (getPorts: unit -> Promise<SerialPort array>, requestPort: SerialPortRequestOptions option -> Promise<SerialPort>, addEventListener: Action<string,EventListenerOrEventListenerObject option,U2<bool,AddEventListenerOptions> option>, dispatchEvent: Event -> bool, removeEventListener: Action<string,EventListenerOrEventListenerObject option,U2<bool,EventListenerOptions> option>) : Serial
abstract member getPorts () : Promise<SerialPort array>
abstract member requestPort (?options: SerialPortRequestOptions) : Promise<SerialPort>