DeallocToken

@available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
public final class DeallocToken

An object that notifies of its deallocation via a publisher sequence

  • A publisher that, upon deallocation of the token, publishes a single element and then immediately completes.

    Declaration

    Swift

    public var publisher: AnyPublisher<(), Never> { get }