subscription
Returns a Subscription to this channel's default-projection ref-channel.
Return
an inactive Subscription. You must call Subscription.subscribe to start receiving events.
Parameters
options
optional SubscriptionOptions.
Returns a Subscription to this channel's default-projection ref-channel.
Return
an inactive Subscription. You must call Subscription.subscribe to start receiving events.
abstract fun subscription(projection: String, options: SubscriptionOptions = EmptyOptions): Subscription
Returns a Subscription to this channel's events for the given projection.
"default" / "__default__" resolve to the base ref channel (id); any other value resolves to __{projection}__{id}. A blank projection is rejected (throws IllegalArgumentException).
Returns a Subscription to this channel's events for the given projection.