mirror of
https://github.com/mikedilger/chorus.git
synced 2026-02-02 06:25:12 +00:00
Store.get_event_by_offset()
This commit is contained in:
parent
0e218e95ef
commit
eb80f9d6ba
@ -73,4 +73,9 @@ impl Store {
|
||||
|
||||
Ok(offset)
|
||||
}
|
||||
|
||||
/// Get an event by offset
|
||||
pub fn get_event_by_offset(&self, offset: usize) -> Result<Option<Event>, Error> {
|
||||
self.events.get_event_by_offset(offset)
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user