pamoja for TypeScript - v0.2.0
    Preparing search index...

    A sensor that reads back a recorded series.

    This is how a caller replays a real capture, so a test asks what the code does with readings that actually happened rather than ones it invented.

    Index
    • Creates a replay over a recorded series.

      Parameters

      • readings: number[]

        the series to read back.

      • Optionalrepeating: boolean | null

        start again at the beginning once exhausted, rather than reporting the replay closed.

      Returns sim.Replay

    • Takes the next reading.

      Returns Promise<number>

      resource is closed once a replay that does not repeat has run out.