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>
| |
|---|
| Assembly | Xantham.Fable.Core.TS |
| Implements | EventTarget |
| 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>