Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
fix(createEpicMiddleware): Don't share a scheduler queue with anyone else's RxJS code #625
Since we use the same queueScheduler that other people's app code might also use, we would get different behavior if the rootEpic is passed to
RxJS doesn't currently publicly export QueueScheduler constructor nor QueueAction, so we reach in using arguably private APIs.
@benlesh this is doing naughty things, reaching into (currently) private APIs. If you have a moment to give this a quick once over, lmk if you have alternative suggestions. If no time, no worries.