mise API - v0.0.0
    Preparing search index...

    Function syncPlan_apply

    • Applies a plan: uploads its adds, four at a time.

      Parameters

      • plan: SyncPlan

        The plan.

      • seams: SyncSeams

        The upload.

      • note: (result: SyncResult) => void

        Called once per upload as it lands, in the order they land.

      • Optionalsignal: AbortSignal

        A stop: the uploads in flight finish, no more start, and what landed stays (a rerun continues from it).

      Returns Promise<SyncReceipt>

      What it did, stopped when the signal ended it early.

      const receipt: SyncReceipt = await syncPlan_apply(plan, syncSeams_cube, (r: SyncResult): void => console.log(r.name, r.ok));