Creates a disposable object that invokes the specified action when disposed.
Creates a disposable object that invokes the specified action when disposed.
(Function): Function to run during the first call to dispose. The action is guaranteed to be run at most once.
(Disposable): The disposable object that runs the given action upon disposal.
Rx.Disposable.create(action)
Gets the disposable that does nothing when disposed.
Gets the disposable that does nothing when disposed.
(Disposable): The disposable that does nothing when disposed.
Creates a disposable object that invokes the specified action when disposed.
Creates a disposable object that invokes the specified action when disposed.
(Object): Object to validate whether it has a dispose method.
(Boolean): true if is a disposable object, else false.
Rx.Disposable.isDisposable(d)
Disposable Class