Is there a way to put Executor in something scheduled? In other words, I need to execute one file with different arguments, then put results in one collection and use it after it’s done. Now I achieved unstable results with ForEach and Cache, but feel like it can work better if use something like Task. Some piece of advice?
I made an experimental patch to explore observable behaviour with asynchronous computations and there are very strange side effects that I didn’t expect. Can anyone look at this?
Also, it only works correctly with the second try since the patch started. With “time to wait” araound 100ms in Executor it shows nothing at first time.
@yar it looks like your patch doesn’t run async, unless there is a ToBackground node in the observable graph. observables are not async by default. however, the operators are threadsafe, so they can be used in async/threading scenarios. so try ToBackground after ToObservable.