Instance Method

handleEvents(receiveSubscription:receiveOutput:receiveCompletion:receiveCancel:receiveRequest:)

No overview available.

Declaration

func handleEvents(receiveSubscription: ((Subscription) -> Void)? = nil, receiveOutput: (((data: Data, response: URLResponse)) -> Void)? = nil, receiveCompletion: ((Subscribers.Completion<URLError>) -> Void)? = nil, receiveCancel: (() -> Void)? = nil, receiveRequest: ((Subscribers.Demand) -> Void)? = nil) -> Publishers.HandleEvents<URLSession.DataTaskPublisher>