mirror of
https://github.com/chatmail/core.git
synced 2026-04-18 22:16:30 +03:00
rename event and mention event in method documentation
This commit is contained in:
@@ -232,6 +232,10 @@ impl CommandApi {
|
||||
}
|
||||
|
||||
/// Performs a background fetch for all accounts in parallel with a timeout.
|
||||
///
|
||||
/// The `BackgroundFetchCompletedForAllAccounts` event is emitted at the end,
|
||||
/// process all events until you get this one and you can safely return to the background
|
||||
/// without forgeting to create notifications caused by timing race conditions.
|
||||
async fn background_fetch_for_all_accounts(&self, timeout_in_seconds: f64) -> Result<()> {
|
||||
self.accounts
|
||||
.write()
|
||||
|
||||
Reference in New Issue
Block a user