Open Roaders opened 8 years ago
@Roaders can you give me a code example where this is not working?
@mattpodwysocki sure. Check out this branch:
https://github.com/Roaders/SpotifyExportTool/tree/scope_schedular
just paste in one track and you'll get an error in the console. In this example the Rx.Scheduler.immediate is set to a new ScopeSchedular in app.ts and this is then used in SpotifyExportController.
I am trying to figure out a better way of just using ScopeSchedular for all rx operations so angular always gets updated.
I tried .observeOn(new Rx.ScopeScheduler($rootScope))
and got the same error. I'm on rx.angular 1.1.3, rx 4.1.0, and angular 1.5.5.
I think Scope Schedular needs to be updated to work with Rx 4.0.7. I get the following:
It also cannot be used in place of the Rx.Scheduler.currentThread: