rename event and mention event in method documentation

This commit is contained in:
Simon Laux
2024-01-12 21:20:43 +01:00
committed by bjoern
parent df455bbcf5
commit 727428a965
4 changed files with 19 additions and 3 deletions

View File

@@ -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()