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

    Function wrapCrossings

    • Wraps every installed capability so each call increments the tally.

      Install after every capability: a wrapper applied first is overwritten by a later installer and the tally silently reads 0.

      Parameters

      • binary: Record<string, unknown>

        the instantiated PHP module

      • tally: CrossingTally

        mutated in place

      Returns (
          | "cfwSqlTxn"
          | "cfwSqlExec"
          | "cfwLog"
          | "cfwHttpCacheGet"
          | "cfwFetch"
          | "cfwQueueFetch"
          | "cfwOidcClaims"
          | "cfwModules"
          | "cfwSettings"
          | "cfwTcp"
          | "cfwMail"
          | "cfwImageUrl"
          | "cfwFileWrite"
          | "cfwFileRead"
          | "cfwFilePublicBase"
          | "cfwFileStat"
          | "cfwFileDelete"
          | "cfwFileRename"
          | "cfwFileList"
          | "cfwZlib"
          | "cfwStats"
          | "cfwServeStats"
      )[]

      the names that were present and wrapped