android-components / mozilla.components.service.fxa / FxaDeviceConstellation / pollForEventsAsync

pollForEventsAsync

fun pollForEventsAsync(): Deferred<Boolean> (source)

Overrides DeviceConstellation.pollForEventsAsync

Polls for any pending DeviceEvent events. In case of new events, registered DeviceEventsObserver observers will be notified.

Return A Deferred that will be resolved with a success flag once operation is complete.