ENGLISH·COURSE API
    Preparing search index...
    • Adds one tap to a run.

      Parameters

      • run: SeekRun

        The run in progress

      • direction: SeekDirection

        The side that was tapped

      • stepSeconds: number

        The learner's step, used only if the run turns around

      Returns SeekRun

      The run after the tap

      A tap on the run's own side adds a step, counted in the run's own stepSeconds — stepSeconds here is ignored, which is what keeps a run in flight honest when the learner changes the setting mid-run.

      A tap on the other side turns the run around: a fresh one-step run anchored where the old run was heading, so the label starts counting again, as the YouTube app's does. That run is new, so it does take the step passed in.