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

    Function captureHandles

    • Records the live vrzno handle table as names.

      Resolution is BY VALUE against the Module's own keys plus the global object, because that is the only naming a fresh instance can reproduce: vrzno_env($name) reaches Module[$name], so every handle PHP can legitimately have acquired is either the global or something the Module hangs.

      Reads of Module keys are individually guarded: an emscripten Module carries accessor properties, and one throwing getter must not cost the whole snapshot its handle table.

      Parameters

      • index: HandleIndex | null | undefined
      • module: Record<string, unknown>
      • root: unknown = globalThis

      Returns HandleCapture