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

CompositeDisposable

interface CompositeDisposable : Disposable

Defines a Disposable implementation that can dispose of multiple other Disposable implementations in one go.

Properties

isDisposed
Link copied to clipboard
abstract val isDisposed: Boolean

Specifies whether or not this resource is currently disposed or not.

Functions

add
Link copied to clipboard
abstract fun add(disposable: Disposable)

Adds the given disposable to be disposed of later.

dispose
Link copied to clipboard
abstract fun dispose()

Disposes of this resource.

remove
Link copied to clipboard
abstract fun remove(disposable: Disposable)

Removes the given disposable if it present.

Generated by Dokka
(c) Tealium 2026