Disposable

public protocol Disposable

Represents a disposable resource.

  • Dispose resource.

    Declaration

    Swift

    func dispose()
  • disposed(by:) Extension method

    Adds self to bag

    Declaration

    Swift

    public func disposed(by bag: DisposeBag)

    Parameters

    bag

    DisposeBag to add self to.