Closed Dhaulagiri closed 6 years ago
Ah, that's why I didn't see it when we pulled it into our existing app (we already had concurrency).
We can find another solution with the run
loop, it will just require more cleanup when destroying the component.
@Dhaulagiri Updated this PR to use the run loop instead of concurrent tasks. I've tested it a few times and everything seems to be working as expected. Would you be able to pull it into a project and double check?
Worked great in our app 👏
:shipit:
Merged! Think we could cut another release?
Released in 1.6.2
@sbatson5 I ended up reverting #240 because when reviewing I overlooked the fact that adding ember-concurrency required that dependency to be included in
dependencies
and notdevDependencies
. When I pulled 1.6.0 into our app it broke looking for ember-concurrency. Given this new information I'm wondering if there is a way to accomplish what you are doing here without ember-currency? Requiring consumers of ember-cli-flash to include it if they aren't already using it (as we are not) quadruples the size of this addon which is something I'm hesitant to do.