travels
    Preparing search index...

    Function createTravelJournal

    • Create a Travels timeline for a state owned and committed by another runtime.

      Use recordPatches() after the external runtime commits an update. Undo and redo are delegated back through options.apply, so the external runtime can preserve its own validation, subscriptions, transports, and reference rules. The returned interface excludes state-owning Travels operations that could bypass the external owner.

      Type Parameters

      • S
      • F extends boolean = false
      • P extends { arrayLengthAssignment?: boolean; pathAsArray?: boolean } = {}

      Parameters

      Returns TravelJournal<S, F, P>