SubscriptionRef

fun <T> SubscriptionRef(key: SubscriptionKey<T>, marker: Marker, subscription: Subscription<T>): SubscriptionRef<T>

Creates a new SubscriptionRef instance.

Parameters

key

The SubscriptionKey for the Subscription.

marker

The Marker specified in SubscriptionClient.getSubscription.

subscription

The Subscription to create a reference.