You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran into an issue where I want to trigger an event that I don't want my code to continue to execute before it is processed, but it's not a synchronous event.
I'm suggesting adding a new publishAwait method that makes the publish method use async/await and await the deliver function.
The text was updated successfully, but these errors were encountered:
I modified the code in PR. It will execute code using async/await, publishSync doesn't wait for promises and publishAsync doesn't either. Do you understand what I mean?
im also interesting in exact this functionality to wait for a subject.
other event listerns doesnt need for me to wait of this subject. but the whole process needs to be finished after all subjects are finished.
I ran into an issue where I want to trigger an event that I don't want my code to continue to execute before it is processed, but it's not a synchronous event.
I'm suggesting adding a new
publishAwait
method that makes thepublish
method use async/await and await thedeliver
function.The text was updated successfully, but these errors were encountered: