File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3159,7 +3159,7 @@ void dc_accounts_maybe_network_lost (dc_accounts_t* accounts);
3159
3159
*
3160
3160
* The `DC_EVENT_ACCOUNTS_BACKGROUND_FETCH_DONE` event is emitted at the end,
3161
3161
* process all events until you get this one and you can safely return to the background
3162
- * without forgeting to create notifications caused by timing race conditions.
3162
+ * without forgetting to create notifications caused by timing race conditions.
3163
3163
*
3164
3164
* @memberof dc_accounts_t
3165
3165
* @param timeout The timeout in seconds
Original file line number Diff line number Diff line change @@ -235,7 +235,7 @@ impl CommandApi {
235
235
///
236
236
/// The `AccountsBackgroundFetchDone` event is emitted at the end,
237
237
/// process all events until you get this one and you can safely return to the background
238
- /// without forgeting to create notifications caused by timing race conditions.
238
+ /// without forgetting to create notifications caused by timing race conditions.
239
239
async fn accounts_background_fetch ( & self , timeout_in_seconds : f64 ) -> Result < ( ) > {
240
240
self . accounts
241
241
. write ( )
Original file line number Diff line number Diff line change @@ -316,7 +316,7 @@ impl Accounts {
316
316
///
317
317
/// The `AccountsBackgroundFetchDone` event is emitted at the end,
318
318
/// process all events until you get this one and you can safely return to the background
319
- /// without forgeting to create notifications caused by timing race conditions.
319
+ /// without forgetting to create notifications caused by timing race conditions.
320
320
pub async fn background_fetch ( & self , timeout : std:: time:: Duration ) -> Result < ( ) > {
321
321
let result = tokio:: time:: timeout ( timeout, self . background_fetch_without_timeout ( ) ) . await ;
322
322
self . emit_event ( EventType :: AccountsBackgroundFetchDone ) ;
You can’t perform that action at this time.
0 commit comments