Skip to content
scalive
Menu
ConnectingLiveReconnectingOffline
o

SubscriptionKey

object SubscriptionKey

Creates and inspects SubscriptionKey values.

Defined by scalive.SubscriptionKey. View source (scalive/api/src/scalive/SubscriptionKey.scala:12-21)

Extension methods1

value

extension def value(key: SubscriptionKey$package.SubscriptionKey): String

Returns the exact runtime subscription name stored in key.

Defined by scalive.SubscriptionKey.value. View source (scalive/api/src/scalive/SubscriptionKey.scala:21-21)

Methods1

apply

def apply(value: String): SubscriptionKey$package.SubscriptionKey

Creates a subscription key from its exact runtime name.

Construction does not validate the name; connected subscription operations reject an empty value.

Defined by scalive.SubscriptionKey.apply. View source (scalive/api/src/scalive/SubscriptionKey.scala:18-18)