Skip to content

Commit fbcef36

Browse files
docs: add documentation for is_cache_ready method
Co-Authored-By: Tejas Badadare <[email protected]>
1 parent 41547f9 commit fbcef36

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

apps/hermes/server/src/state/cache.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@ pub trait Cache {
136136
request_time: RequestTime,
137137
filter: MessageStateFilter,
138138
) -> Result<Vec<MessageState>>;
139-
///
140139
async fn is_cache_ready(&self) -> bool;
141140
}
142141

@@ -277,7 +276,6 @@ where
277276
Ok(cache.get(&slot).cloned())
278277
}
279278

280-
///
281279
async fn is_cache_ready(&self) -> bool {
282280
let message_cache = self.into().message_cache.read().await;
283281
!message_cache.is_empty()

0 commit comments

Comments
 (0)