Initializerpointfreeco.swift-sharing 2.2.0Sharing
init(_:)
Initializes the subscription with the given cancel closure.
init(_ cancel: @escaping () -> Void)
Parameters
- cancel
A closure that the
cancel()
method executes.
Initializes the subscription with the given cancel closure.
init(_ cancel: @escaping () -> Void)
A closure that the cancel()
method executes.