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

callback

@JvmStatic
fun <T> callback(block: (Observer<T>) -> Unit): Observable<T>

Returns an observable that emits only when the provided block of code has completed, This block will be executed whenever a new subscription is made.

Parameters

block

The block of code to receive the observer with which to emit downstream.

Generated by Dokka
(c) Tealium 2026