Fray Electron
    Preparing search index...

    Function revisionsToSend

    • Selects locally retained revisions requested by the Engine, in ascending order.

      Parameters

      • state: ProjectState

        Project history cache.

      • requested: { afterRevision: number; domain: string; throughRevision: number }

        Requested history domain and inclusive upper/exclusive lower bounds.

      Returns [number, string][]

      Revision/payload pairs, or an empty list for another history domain. Does not mutate state or perform IPC.