Open a kind-30166 subscription against a set of monitor relays.
WebSocket URLs to subscribe against (the aggregator passes its bootstrap list)
A kind-30166 filter, optionally narrowed with #n network tags
Called synchronously with every matching event; the aggregator parses each one
An unsubscribe handle the aggregator calls on resync() or teardown
Minimal relay-pool contract
@kehto/nip/66depends on. Consumers implement this against their pool library of choice (nostr-tools SimplePool, applesauce-relay, @snort/worker-relay, etc.). Intentionally smaller than RxJS-style observable pools — one callback, one unsubscribe handle.Example