Class WritableMultiPort<T>Abstract

Type Parameters

  • T

Implements

Constructors

Methods

Constructors

Methods

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

    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

  • Parameters

    • index: number
    • value: T

    Returns void

  • Returns (undefined | T)[]

  • Return the number of channels.

    Returns number