radicle-heartwood-lfs/radicle-cli/examples/workflow
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
..
1-new-project.md cli: Replace seedling emoji with alien invader 2023-04-25 12:47:36 +02:00
2-cloning.md cli: Add canonical remote to `init` and `checkout` 2023-04-24 15:42:00 +02:00
3-issues.md cli: announce on issue edit and comment 2024-08-20 16:32:02 +02:00
4-patching-contributor.md radicle: introduce announcer 2025-05-26 12:31:03 +02:00
5-patching-maintainer.md radicle: introduce announcer 2025-05-26 12:31:03 +02:00
6-pulling-contributor.md radicle: improve sync fetching 2025-05-23 17:22:48 +01:00