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

Disposables

object Disposables

Contains factory methods for creating common Disposable instances for use with the Tealium SDK.

Functions

composite
Link copied to clipboard
fun composite(): CompositeDisposable

Creates a CompositeDisposable which can be used to store multiple Disposable instances for bulk disposal.

fun composite(scheduler: Scheduler): CompositeDisposable

Creates a CompositeDisposable which can be used to store multiple Disposable instances for bulk disposal. All methods are executed using the given scheduler to ensure operation is thread-safe.

disposed
Link copied to clipboard
fun disposed(): Disposable

Returns a Disposable implementation that:

subscription
Link copied to clipboard
@JvmOverloads
fun subscription(onDispose: () -> Unit? = null): Disposable

Creates a Disposable which calls the given onDispose function when the subscription is disposed.

Generated by Dokka
(c) Tealium 2026