GeoLeaf Core API - v3.19.0
    Preparing search index...
    BeforeDrainStep: () => Promise<unknown> | unknown

    A step run before each drain.

    ⚠️ Its failure must never stop the drain: a photo that cannot be uploaded is a photo still waiting, not a reason to hold every other capture hostage. The drain enforces this — a step is not trusted to.

    Type Declaration

      • (): Promise<unknown> | unknown
      • Returns Promise<unknown> | unknown