mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-21 18:40:39 +08:00
The `FetcherService` wraps the `FetcherState` alongside keeping track of subscribers for a given fetch. Typically, this is a channel for which the fetch result should be sent to. These subscribers are coalesced by maintaing a map from `(rid, node)` pairs to the subscriber. This continues the sans-IO approach where the type of subscribers are not specified, but rather are kept as a type parameter – to be specified by the caller.