Function fromArray

  • Yield values from array, one at a time. Use interval to add time between each item. The first item is yielded without delay.

    Type Parameters

    • V

    Parameters

    • array: V[]

      Array of values

    Returns Generator<V>