radicle-heartwood-lfs/radicle-cli
Fintan Halpenny 5b4cbc2cd8 radicle: introduce announcer
Similar to the `Fetcher` sans-IO approach, an `Announcer` sans-IO approach is
introduced. The previous `Handler::announce` was already quite close to using a
sans-IO approach, but using internally held state. This change makes the
business logic more reusable – and testable.

Similarly to the `Fetcher`, the `Announcer` is configured and then driven by
telling it when nodes have been synchronized with. It will continuously check if
it has reached its target, yielding to the caller to decide whether to keep
going. In contrast, it also provides a way to mark the process as timed out,
since announcing relies on waiting for events to come back in a timely manner.
2025-05-26 12:31:03 +02:00
..
examples radicle: introduce announcer 2025-05-26 12:31:03 +02:00
src radicle: introduce announcer 2025-05-26 12:31:03 +02:00
tests radicle: introduce announcer 2025-05-26 12:31:03 +02:00
Cargo.toml cli: `rad config schema` emits JSON Schema 2025-05-22 11:00:46 +02:00
build.rs Update radicle crates to 0.9.0 2024-03-26 11:56:27 +01:00