being able to import direct AND queue the same import class #3977
-
Hey 👋 Great package, it works a treat for what I need! I have one question about queuing imports. Is it possible to have an import be both triggered via At the moment, I can only figure out how to do one or the other, since you always have to implement the Any help would be much appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
::import() calls queueImports() when it detects a ShouldQueue interface. |
Beta Was this translation helpful? Give feedback.
-
Is there a way to get it to not queue even if the import class implements the ShouldQueue interface though? I can't remove ShouldQueue because to my understanding, that is needed for when you want to queue an import, but at the same time, I then can't run |
Beta Was this translation helpful? Give feedback.
If you have
sync
queue driver in your test suite, that shouldn't matter right? Then it should just execute the import in sync.