org.apache.pekko.stream.SubscriptionWithCancelException
See theSubscriptionWithCancelException companion object
@DoNotInherit
trait SubscriptionWithCancelException extends Subscription
Extension of Subscription that allows to pass a cause when a subscription is cancelled.
Subscribers can check for this trait and use its cancel(cause) method instead of the regular cancel method to pass a cancellation cause.
Not for user extension.
Attributes
- Companion
- object
- Source
- SubscriptionWithCancelException.scala
- Graph
-
- Supertypes
Members list
In this article