I’m trying to use
store.unloadAll('model-name') before calling a subsequent
unloadAll method works as I expect it to, which is to unload all the models in the store, which then updates my view. However, sometimes the previous models stick around. I know the
unloadAll method only schedules an unload for the next run loop.
I’ve tried using
Ember#run() but that didn’t work either.
Is there a particular way to do this? Perhaps some sort of hook I’m unaware of?
Thanks in advance!