Disposer

public class Disposer

Class responsible for disposing listeners Incapsulate a single action of disposing

  • Adding disposed to the bag for automatic disposal

    Declaration

    Swift

    public func add(to bag: DisposeBag)

    Parameters

    bag

    Dispose bag

  • Dispose

    Declaration

    Swift

    public func dispose()