screamer.js
    Preparing search index...

    Function delay

    • Re-stamp each event's index by k index units; values unchanged.

      • A Node builds a graph node for a Pipeline.
      • { values, index }: returns { values, index } with the index moved. A delay is time-based, so the stream needs its index.

      Python's Delay(duration)(values, index) gives the same values.

      Parameters

      • node: Node
      • k: number

      Returns Node

    • Re-stamp each event's index by k index units; values unchanged.

      • A Node builds a graph node for a Pipeline.
      • { values, index }: returns { values, index } with the index moved. A delay is time-based, so the stream needs its index.

      Python's Delay(duration)(values, index) gives the same values.

      Parameters

      • stream: { index: ArrayLike<number>; values: CombineValues }
      • k: number

      Returns Output