I have a function that writes/modifies the data and returns an Observable to track the progress of the task.
func modifyChunk(data: SomeData) -> Observable<Double>
Now in my use case user may preform N number of operations in runtime randomly, where he may modify same data over and over. I'm looking for a way to hold/postpone new Observable from modifyChunk(data:)
till previously existing observable is finished, and once that happen immediately kick start this new Observable and so on.
I figured out that, I may need a queue that will take Observable tasks at runtime and execute them in FIFO manner. But I'm not able figure out how to achieve that using RxSwift.