@drupflare/workforce - v0.3.0
    Preparing search index...

    Function readEnvelope

    • Reads one Cloudflare envelope.

      A 200 carrying success: false is the normal way this API reports a permission problem, so the status code alone is never the check; treating it as one is how "no workers" gets confused with a token that may not list them.

      Type Parameters

      • T

      Parameters

      • response: Response
      • what: string

      Returns Promise<T>