victos
victos
You can use a custom operators, maybe something like this: ```ts export function showBusy() { return function showBusyOperatorImplementation(source) { return Observable.create(subscriber => { const angularBusyService = ServiceLocator.injector.get(AngularBusyService); const subscription =...
I use the ServiceLocator just because I don't want to pass it in to showBusy as a param.
No, there's no way to get the instance of BusyTrackerService now.
When the loader disappears, the event busyStop will be called. You can use that event instead as a workaround.
The spinner will show until the 'mySubscription' is unsubscribed, that means you can stop the spinner by unsubscribing the 'mySubscription'.
Again ERROR TypeError: 'ownKeys' on proxy: trap result did not include 'scope' at Function.freeze () at deepFreeze (ngxs-store.js:1420) at ngxs-store.js:1435 at Array.forEach () at deepFreeze (ngxs-store.js:1425) at ngxs-store.js:1435 at Array.forEach...
This error occurred when I get the property from getState and put it back within setState. Maybe this is not a bug. The property get from the getState is not...
Here's an example, https://stackblitz.com/edit/angular-jwqaif3?file=src/app/app.module.ts
> Sorry to emphase but It's a catastrophic bug. > I'm losing a lot of time to make a workaround for this. > Any advise would be welcome, thank. Maybe...