[android-components](../../index.md) / [mozilla.components.feature.push](../index.md) / [MessageBus](index.md) / [notifyObservers](./notify-observers.md)

# notifyObservers

`fun notifyObservers(type: `[`T`](index.md#T)`, message: `[`M`](index.md#M)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/feature/push/src/main/java/mozilla/components/feature/push/MessageBus.kt#L60)

Overrides [Bus.notifyObservers](../../mozilla.components.concept.push/-bus/notify-observers.md)

Notifies all registered observers of a particular message.

