mirror of
https://github.com/chatmail/core.git
synced 2026-04-26 01:46:34 +03:00
api: add event channel overflow event
This commit is contained in:
@@ -315,4 +315,10 @@ pub enum EventType {
|
||||
/// Event for using in tests, e.g. as a fence between normally generated events.
|
||||
#[cfg(test)]
|
||||
Test,
|
||||
|
||||
/// Inform than some events have been skipped due to event channel overflow.
|
||||
EventChannelOverflow {
|
||||
/// Number of events skipped.
|
||||
n: u64,
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user