Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

Commit

Permalink
docs: adding doc to methods
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Paitrault <[email protected]>
  • Loading branch information
Freyskeyd committed Mar 13, 2024
1 parent e47bbfa commit fc3427e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/topos-tce-storage/src/fullnode/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ impl FullNodeStore {
}))
}

/// Await for a [`LockGuards`] for the given certificate id
pub(crate) async fn get_certificate_lock_guard(
&self,
certificate_id: CertificateId,
Expand All @@ -95,6 +96,7 @@ impl FullNodeStore {
.await
}

/// Await for a [`LockGuards`] for the given subnet id
pub(crate) async fn get_subnet_lock_guard(&self, subnet_id: SubnetId) -> OwnedMutexGuard<()> {
self.subnet_lock_guards
.get_lock(subnet_id)
Expand Down

0 comments on commit fc3427e

Please sign in to comment.