SubscriptionWithCancelException

org.apache.pekko.stream.SubscriptionWithCancelException
See theSubscriptionWithCancelException companion object

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
trait Subscription
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

Concrete methods

final override def cancel(): Unit

Attributes

Definition Classes
Source
SubscriptionWithCancelException.scala

Inherited methods

def request(x$0: Long): Unit

Attributes

Inherited from:
Subscription