Target filter
Search Kotlin docs
  • Platforms
  • Tealium Prism Kotlin
core/com.tealium.prism.core.api.pubsub/Subscribable

Subscribable

interface Subscribable<T>

A Subscribable object allows you to subscribe an Observer to receive updates from a specific source. Each updated value will be provided through the given Observer.onNext method.

Updates can be immediate, or asynchronous depending on the underlying source.

To stop observing updates, use the Disposable.dispose method of the returned Disposable.

Inheritors

Observable
Single
SubscribableState

Functions

subscribe
Link copied to clipboard
abstract fun subscribe(observer: Observer<T>): Disposable

Subscribes the given observer to receive updates

Generated by Dokka
(c) Tealium 2026