Interface MultiRead<T>

interface MultiRead<T> {
    get: ((index: number) => undefined | T);
    width: (() => number);
}

Type Parameters

  • T

Implemented by

Properties

Properties

get: ((index: number) => undefined | T)

Given an index that identifies a particular channel, return the current value of the identified channel.

Type declaration

    • (index): undefined | T
    • Parameters

      • index: number

        the index that identifies the channel to return the value of

      Returns undefined | T

      the value that corresponds to the identified channel

width: (() => number)

Return the number of channels.