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.

Annotations
@DoNotInherit()
Source
SubscriptionWithCancelException.scala
Linear Supertypes
Subscription, AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SubscriptionWithCancelException
  2. Subscription
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def cancel(cause: Throwable): Unit
  2. abstract def request(arg0: Long): Unit
    Definition Classes
    Subscription

Concrete Value Members

  1. final def cancel(): Unit
    Definition Classes
    SubscriptionWithCancelException → Subscription