android-components / mozilla.components.service.fxa.manager / FxaAccountManager / syncNowAsync

syncNowAsync

fun syncNowAsync(reason: SyncReason, debounce: Boolean = false): Deferred<Unit> (source)

Request an immediate synchronization, as configured according to syncConfig.

Parameters

reason - A SyncReason indicating why this sync is being requested.

debounce - Boolean flag indicating if this sync may be debounced (in case another sync executed recently).