android-components / mozilla.components.support.base.observer / Observable / notifyAtLeastOneObserver

notifyAtLeastOneObserver

abstract fun notifyAtLeastOneObserver(block: T.() -> Unit): Unit (source)

Notifies all registered observers about a change. If there is no observer the notification is queued and sent to the first observer that is registered.

Parameters

block - the notification (method on the observer to be invoked).