# ask-community

Archie Kennedy

12/19/2022, 1:52 PM
Hello. I have job A that can run large numbers of runs in parallel, each run creates an asset. I have an asset sensor running every second - the idea is each asset created by job A triggers a run of job B. Unfortunately the asset sensor misses some materialisation (when two job A runs finish at the same time). How can I make it so that:
Copy code
number of A runs == number of B runs
🤖 1
For instance, is it possible to yield a
from inside an op?
It seems like this is not possible, I will refactor my pipeline to combine both jobs into one.


12/19/2022, 3:38 PM
Hi Archie, Are you still having problems with this? If so, by:
each asset created by job A
Do you mean each materialization of a single asset?

Daniel Galea

12/19/2022, 3:40 PM
Maybe these two can help: The second link is specifically for multi-assets but you can probably re-use that code to ensure that unconsumed materializations will trigger jobs

Archie Kennedy

12/19/2022, 4:10 PM
Thanks for the help all! But in the end it made sense to use a single job and multiple graphs for my architecture 🙂