Skip to content

Conversation

@Evalir
Copy link
Member

@Evalir Evalir commented Jan 5, 2026

Closes ENG-1677

Copy link
Member Author

Evalir commented Jan 5, 2026

This stack of pull requests is managed by Graphite. Learn more about stacking.

@Evalir Evalir marked this pull request as draft January 5, 2026 19:32
@Evalir Evalir requested a review from prestwich January 5, 2026 19:38
@Evalir Evalir marked this pull request as ready for review January 5, 2026 19:38
@Evalir Evalir requested a review from prestwich January 6, 2026 00:21
/// can be read or awaited for changes. This allows multiple tasks to observe
/// block number updates.
#[derive(Debug, Clone)]
pub struct SharedBlockNumber(watch::Receiver<u64>);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what does this type provide that watch::Receiver<u64> does not?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It makes using the Receiver type much more ergonomic, akin to SharedToken

@Evalir Evalir requested a review from prestwich January 9, 2026 06:15
@Evalir Evalir requested a review from prestwich January 13, 2026 12:54
@Evalir Evalir force-pushed the evalir/block-watcher-task branch from 29cf0aa to bb99abf Compare January 13, 2026 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants