ENGLISH·COURSE API
    Preparing search index...
    • Seeds the browser with a learner who finished the first finishedCount videos and is currentFraction of the way through the next one.

      Opening the route records the tickets of finished videos, so the cleanup removes those tickets too — otherwise one story's prize would leak into the next.

      Parameters

      • finishedCount: number
      • currentFraction: number

      Returns () => void

      A cleanup that removes the seeded progress and its tickets again