How to confirm that the asyn projection is completed before querying #2490
Unanswered
yk442755675
asked this question in
Q&A
Replies: 2 comments
-
I had this same question! |
Beta Was this translation helpful? Give feedback.
0 replies
-
Using an inline or live projection would be the correct approach to this. As by design and definition the async projection is async, so it's pure luck that the projection is done when you query immediately (race condition). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello all,
I'm doing a async projection when i save a event. but at same time, the system will do query to get the projection.
the question is when i doing query to get data, sometime it has the projection, sometime doesn't.
i saw some way to handle this question, but i want know waht is the best way to handle this situation.
Beta Was this translation helpful? Give feedback.
All reactions