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

    Function choosePrimary

    • Chooses the primary among the claimed sites.

      Parameters

      Returns Promise<
          { deployment: DeploymentSites; ok: true }
          | { error: string; ok: false },
      >

      the new document, or an error naming why the choice was refused