Skip to content

Commit d1b1f30

Browse files
add comment for check or load stream
1 parent 1fa4308 commit d1b1f30

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/parseable/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,8 @@ impl Parseable {
211211
}
212212

213213
/// Checks for the stream in memory, or loads it from storage when in distributed mode
214+
/// return true if stream exists in memory or loaded from storage
215+
/// return false if stream doesn't exist in memory and not loaded from storage
214216
pub async fn check_or_load_stream(&self, stream_name: &str) -> bool {
215217
if self.streams.contains(stream_name) {
216218
return true;

0 commit comments

Comments
 (0)