ENGLISH·COURSE API
    Preparing search index...

    Module

    lib/learner-store/learner-store

    Learner state

    LearnerState

    The signed-in learner's state as the browser holds it.

    learnerStore

    The one client store of learner state, read by the composition-root hooks and written by the learner-store adapters.

    seedLearnerStore

    Adopts the snapshot the server loaded for this request.

    resetLearnerStore

    Empties the store, as for a signed-out visitor.

    writeThrough

    Applies a change at once, then keeps it only if the server accepts it.