Interface IEspLoaderTerminal

A wrapper around your implementation of a terminal by implementing the clean, write and writeLine methods which are called by the ESPLoader class. IEspLoaderTerminal

interface IEspLoaderTerminal {
    clean: (() => void);
    write: ((data) => void);
    writeLine: ((data) => void);
}

Properties

Properties

clean: (() => void)

Execute a terminal clean command.

Type declaration

    • (): void
    • Returns void

write: ((data) => void)

Write a string of data.

Type declaration

    • (data): void
    • Parameters

      • data: string

        The string to write.

      Returns void

writeLine: ((data) => void)

Write a string of data that include a line terminator.

Type declaration

    • (data): void
    • Parameters

      • data: string

        The string to write with line terminator.

      Returns void