kernl API
    Preparing search index...

    Function createRelayPoolHooks

    • Build kehto's RelayPoolHooks over the shared applesauce pool.

      Scoped relays (one relay per window, the NIP-29 pattern) are kept minimal: one open subscription per window, replaced on reopen, and events delivered to the window's bound port as relay.event envelopes.

      Parameters

      Returns RelayPoolHooks

      Hooks for ShellAdapter.relayPool.

      const adapter: ShellAdapter = { relayPool: createRelayPoolHooks(pool, tiers), ... };