drupflare/worker - v1.0.4
    Preparing search index...

    Function updbPrepare

    • Starts a run (fence, snapshot, plan as the first three units); refuses while one is live. maint_was is read in JS before any PHP runs, so the restored value predates the fence.

      Parameters

      Returns
          | {
              detail: string;
              ok: boolean;
              reason: string;
              run: UpdbRun;
              units?: undefined;
          }
          | {
              detail: string;
              ok: boolean;
              reason: string;
              run?: undefined;
              units?: undefined;
          }
          | {
              detail?: undefined;
              ok: boolean;
              reason?: undefined;
              run: UpdbRun
              | null;
              units: number;
          }