kernl API
    Preparing search index...

    Function resourceInitFor

    • Translate the resource service's fetch init into the bridge resolver's, naming the applet that asked so the bridge consent hook can see it.

      Parameters

      • deps: Pick<KernlServiceDeps, "resolveIdentity">

        Supplies the window-to-identity lookup.

      • init: ResourceFetchInit

        What kehto's resource service passes to fetch.

      Returns ResourceResolveInit

      The init for createBridgeResourceResolver's resolver.

      resourceInitFor(deps, { signal, windowId: 'w1' }).requester; // { dTag: 'chat', hash: '…' }