I need to call a function after observer.complete() is called. Looking at the rxjs docs it looks like you can pass a 3rd argument to .subscribe and it'll be called after the changes are committed? I'm doing this:
on returns a full RxJS Observable, so you have fine control over how you react to a change. Effects have access to around 100 utility functions that are included with RxJS.
However, it doesn't seem to support all of the methods of the Observable class. Is this because of rxjs-observable? Is it possible to have store.on() return an actual Observable if RxJS is available?
I need to call a function after observer.complete() is called. Looking at the rxjs docs it looks like you can pass a 3rd argument to
.subscribe
and it'll be called after the changes are committed? I'm doing this:But that function is never called. Any ideas?
Also, the docs say:
However, it doesn't seem to support all of the methods of the Observable class. Is this because of
rxjs-observable
? Is it possible to have store.on() return an actual Observable if RxJS is available?