ENGLISH·COURSE API
    Preparing search index...
    • Marks a lesson complete for the signed-in learner.

      Parameters

      • lessonId: string & $brand<"LessonId">

        The lesson to mark

      Returns Promise<boolean>

      Whether the mark was saved

      The mark shows at once on every surface and is saved through the completion Server Action; a refused save withdraws it. Deliberately not a hook: the Mark-as-complete button calls it from inside a transition, and the indicators observe the result through useLessonCompletion.