Trait

io.scalajs.npm.rx

CompositeDisposable

Related Doc: package rx

Permalink

trait CompositeDisposable extends Object with Disposable

Represents a group of disposable resources that are disposed together.

Annotations
@RawJSType() @native()
Linear Supertypes
Disposable, Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CompositeDisposable
  2. Disposable
  3. Object
  4. Any
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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 add(item: Disposable): Unit

    Permalink

    Adds a disposable to the CompositeDisposable or disposes the disposable if the CompositeDisposable is disposed.

    Adds a disposable to the CompositeDisposable or disposes the disposable if the CompositeDisposable is disposed.

    item

    (Disposable): Disposable to add.

    Example:
    1. Rx.CompositeDisposable.prototype.add(item)

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def dispose(): Unit

    Permalink

    Performs the task of cleaning up resources.

    Performs the task of cleaning up resources.

    Definition Classes
    Disposable
    Example:
    1. Rx.Disposable.prototype.dispose()

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hasOwnProperty(v: String): Boolean

    Permalink
    Definition Classes
    Object
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  14. def isDisposed: Boolean

    Permalink

    Gets a value that indicates whether the object is disposed.

  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def isPrototypeOf(v: Object): Boolean

    Permalink
    Definition Classes
    Object
  17. def length: Int

    Permalink

    Gets the number of disposables in the CompositeDisposable.

  18. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  21. def propertyIsEnumerable(v: String): Boolean

    Permalink
    Definition Classes
    Object
  22. def remove(item: Disposable): Boolean

    Permalink

    Removes and disposes the first occurrence of a disposable from the CompositeDisposable.

    Removes and disposes the first occurrence of a disposable from the CompositeDisposable.

    item

    (Disposable): Disposable to remove.

    returns

    (Boolean): true if the disposable was found and disposed; otherwise, false.

    Example:
    1. Rx.CompositeDisposable.prototype.remove(item)

  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toLocaleString(): String

    Permalink
    Definition Classes
    Object
  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  26. def toarray(): Array[Disposable]

    Permalink

    Converts the existing CompositeDisposable to an array of disposables.

    Converts the existing CompositeDisposable to an array of disposables. Does not dispose the objects.

    returns

    (Array): An array of disposable objects.

    Example:
    1. Rx.CompositeDisposable.prototype.toarray()

  27. def valueOf(): Any

    Permalink
    Definition Classes
    Object
  28. final def wait(): Unit

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

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

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

Inherited from Disposable

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped