SubscriptionPreviewClient

Usage:

val subscriptionClient = SubscriptionPreviewClient {
on(MySubscriptionId1) { SubscriptionState.success("data") }
on(MySubscriptionId2) { .. }
}

Constructors

Link copied to clipboard
constructor(previewData: Map<UniqueId, SubscriptionState<*>>)

Types

Link copied to clipboard

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun <T> getSubscription(key: SubscriptionKey<T>, marker: Marker): SubscriptionRef<T>