android-components / mozilla.components.support.base.observer / Consumable / onConsume

onConsume

@Synchronized fun onConsume(listener: ConsumableListener): Unit (source)

Adds a listener to be invoked when this Consumable is consumed.

Parameters

listener - the listener to add.