observe

abstract fun observe(action: () -> Unit)

Registers a function that will be called whenever the value of this Provider changes. If multiple threads update the value concurrently, intermediate observer invocations may be skipped.

Contrary to subscribe, registering an observer does not disable lazy evaluation of the provider.