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

    Function delegatingHandleTable

    • A delegating stand-in for the handle table, with optional observers on get and add.

      A plain object, not a Proxy: Module.targets.get is non-writable and non-configurable, so the object one level up is replaced (a get trap could only return the real value).

      Parameters

      • table: HandleIndex
      • hooks: { onAdd?: (o: object) => void; onGet?: (id: number, value: unknown) => void } = {}

      Returns Record<string, unknown>