-
I want to do something like:
But I cant do this because it is not async. Or how can I catch SIGINT while waiting for a message? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
You can do push based subscribers.. Tyler may have some more complete insight. |
Beta Was this translation helpful? Give feedback.
-
just getting familiar with nats and I have a similar question. All consumer factories, like for example create_or_open, require a blocking synchronous connection I'm not sure how to use the jetstream module in an async context |
Beta Was this translation helpful? Give feedback.
-
@spacejam can comment some more here on how to use the client and JetStream with async constructs. |
Beta Was this translation helpful? Give feedback.
-
Hey @pashinin, we are currently in the process of getting async (now available again via the Signal handling is generally best done using the |
Beta Was this translation helpful? Give feedback.
-
as there is a whole new async client , I think this is answered. |
Beta Was this translation helpful? Give feedback.
as there is a whole new async client , I think this is answered.