ENGLISH·COURSE API
    Preparing search index...

    The browser's ContinueWatchingRepository: the learner store's places, one per course, saved through the continue-watching Server Action.

    Optimistic like every learner write, and the port's "a failed write does not break the page" holds: a refusal puts the previous places back and resolves quietly. Recording a place also enrolls the learner in its course, as the server does (capability course-enrollment), so both slices change — and roll back — together.

    Implements

    Index

    Methods

    Methods

    • One record per course, the most recently watched first.

      Returns Promise<
          readonly {
              location: {
                  courseSlug: string & $brand<"Slug">;
                  moduleSlug: string & $brand<"Slug">;
                  lessonId: string & $brand<"LessonId">;
              };
              watchedAt: number;
          }[],
      >