python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How to map a completed event to an interrupt event when take(duringLifetimeOf:) happened in ReactiveSwift
For example, I want to send a request in my viewModel, if the viewModel is dealloc. The request signal should send interrupt event.
This is my code
func request() -> SignalProducer<Data, Error&g...
Yanni
Votes: 0
Answers: 1