Header menu logo issie

BuildUartHelpers Module

The debug UART, as the draw block sees it. These were direct calls into IS-uart.js, imported into the renderer bundle. That file requires the native `usb` module, which a renderer without node integration cannot load at all, so it now lives in the main process and these are messages to it - see src/Main/Bridge.fs. The signatures are unchanged, which is the whole reason this port was cheap: the operations were already asynchronous, already took nothing but a viewer count, and already shared no objects with their caller. Nothing in SheetUpdate.fs had to change.

Functions and values

Function or value Description

connect numberOfViewers

Full Usage: connect numberOfViewers

Parameters:
    numberOfViewers : int

Returns: Promise<string array>
numberOfViewers : int
Returns: Promise<string array>

continuedOp ()

Full Usage: continuedOp ()

Parameters:
    () : unit

() : unit

disconnect ()

Full Usage: disconnect ()

Parameters:
    () : unit

() : unit

pause ()

Full Usage: pause ()

Parameters:
    () : unit

() : unit

readAllViewers numberOfViewers

Full Usage: readAllViewers numberOfViewers

Parameters:
    numberOfViewers : int

Returns: Promise<string array>
numberOfViewers : int
Returns: Promise<string array>

simpleConnect ()

Full Usage: simpleConnect ()

Parameters:
    () : unit

Returns: Promise<unit>
() : unit
Returns: Promise<unit>

step ()

Full Usage: step ()

Parameters:
    () : unit

() : unit

stepAndReadAllViewers numberOfViewers

Full Usage: stepAndReadAllViewers numberOfViewers

Parameters:
    numberOfViewers : int

Returns: Promise<string array>
numberOfViewers : int
Returns: Promise<string array>

Type something to start searching.