Fray Electron
    Preparing search index...

    Function recordRevision

    • Records a completed workspace edit as the next never-reused revision.

      Parameters

      • state: ProjectState

        Project state to update.

      • document: WorkspaceDocument

        New runtime workspace document.

      • json: string

        Serialized document retained for Engine history reconstruction.

      Returns number

      Assigned revision number.

      Mutates state synchronously; does not wait for Engine persistence.