Packages

object Cancelable extends Serializable

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

Type Members

  1. trait Empty extends Cancelable with IsDummy

    Interface for cancelables that are empty or already canceled.

  2. trait IsDummy extends AnyRef

    Marker for cancelables that are dummies that can be ignored.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(callback: () => Unit): Cancelable

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

  5. def apply(): Cancelable

    Builds a Cancelable.

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def cancelAll(seq: Iterable[Cancelable]): Unit

    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
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  9. def collection(seq: Iterable[Cancelable]): Cancelable

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

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

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

  11. val empty: Cancelable

    Returns a dummy Cancelable that doesn't do anything.

  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. def fromPromise[A](p: Promise[A], e: Throwable): Cancelable

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

  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. def trampolined(seq: Iterable[Cancelable])(implicit s: Scheduler): Cancelable

    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.

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

    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. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped