Packages

object Cancelable extends Serializable

Source
Cancelable.scala
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

    Interface for cancelables that are empty or already canceled.

  2. implicit final class Extensions extends AnyVal

    Extension methods for Cancelable.

  3. 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[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  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: Empty

    Returns a dummy Cancelable that doesn't do anything.

  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def fromIO(io: IO[Unit])(implicit r: UncaughtExceptionReporter): Cancelable

    Builds a Cancelable reference from an IO[Unit].

    Builds a Cancelable reference from an IO[Unit].

    Guarantees idempotency and reports any uncaught errors.

    io

    is the IO value to evaluate on cancel

    r

    is an exception reporter that's used in case our IO value is throwing an error on evaluation

  16. 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.

  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. 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.

  26. 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.

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

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped