Object/Trait

monix.execution

Cancelable

Related Docs: trait Cancelable | package execution

Permalink

object Cancelable extends Serializable

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Cancelable
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait Empty extends Cancelable with IsDummy

    Permalink

    Interface for cancelables that are empty or already canceled.

  2. trait IsDummy extends AnyRef

    Permalink

    Marker for cancelables that are dummies that can be ignored.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply(callback: () ⇒ Unit): Cancelable

    Permalink

    Builds a Cancelable that executes the given callback when calling cancel.

  5. def apply(): Cancelable

    Permalink

    Builds a Cancelable.

  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def cancelAll(seq: Iterable[Cancelable]): Unit

    Permalink

    Given a collection of cancelables, cancel them all.

    Given a collection of cancelables, cancel them all.

    This function collects non-fatal exceptions and throws them all at the end as a composite, in a platform specific way:

    • for the JVM "Suppressed Exceptions" are used
    • for JS they are wrapped in a CompositeException
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def collection(seq: Iterable[Cancelable]): Cancelable

    Permalink

    Builds a Cancelable reference from a sequence, cancelling everything on cancel.

  10. def collection(refs: Cancelable*): Cancelable

    Permalink

    Builds a Cancelable reference from a sequence, cancelling everything on cancel.

  11. val empty: Cancelable

    Permalink

    Returns a dummy Cancelable that doesn't do anything.

  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def fromPromise[A](p: Promise[A], e: Throwable): Cancelable

    Permalink

    Builds a Cancelable out of a Scala Promise, completing the promise with the given Throwable on cancel.

  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  24. def trampolined(seq: Iterable[Cancelable])(implicit s: Scheduler): Cancelable

    Permalink

    Wraps a collection of cancelable references into a Cancelable that will cancel them all by triggering a trampolined async boundary first, in order to prevent stack overflows.

  25. def trampolined(refs: Cancelable*)(implicit s: Scheduler): Cancelable

    Permalink

    Wraps a collection of cancelable references into a Cancelable that will cancel them all by triggering a trampolined async boundary first, in order to prevent stack overflows.

  26. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped