Inherits from RACDisposable : NSObject
Declared in RACScopedDisposable.h
RACScopedDisposable.m

Overview

A disposable that calls its own -dispose when it is dealloc’d.

Class Methods

scopedDisposableWithDisposable:

Creates a new scoped disposable that will also dispose of the given disposable when it is dealloc’d.

+ (instancetype)scopedDisposableWithDisposable:(RACDisposable *)disposable

Declared In

RACScopedDisposable.h

Instance Methods

asScopedDisposable

Returns a new disposable which will dispose of this disposable when it gets dealloc’d.

- (RACScopedDisposable *)asScopedDisposable

Declared In

RACDisposable.h