BinaryDisposable

public final class BinaryDisposable : DisposeBase, Cancelable

Represents two disposable resources that are disposed together.

  • Declaration

    Swift

    public var disposed: Bool

    Return Value

    Was resource disposed.

  • Calls the disposal action if and only if the current instance hasn’t been disposed yet.

    After invoking disposal action, disposal action will be dereferenced.

    Declaration

    Swift

    public func dispose()