Add release-sequence for counter retirements.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk
2025-07-25 10:06:40 +00:00
parent 85a84f93c7
commit 51931de94c
3 changed files with 63 additions and 5 deletions

View File

@@ -102,6 +102,12 @@ impl crate::Service for Service {
}
impl Service {
#[inline]
pub async fn wait_pending(&self) -> Result<u64> { self.db.wait_pending().await }
#[inline]
pub async fn wait_count(&self, count: &u64) -> Result<u64> { self.db.wait_count(count).await }
#[inline]
#[must_use]
pub fn next_count(&self) -> data::Permit { self.db.next_count() }