V3 - Messages / Events upgrade #1391
-
|
Hey, Looking through other language specific implementations, I noticed other functionality e.g. Go's "Event driven-system"; Looking at the feature support it says this functionality is supported for Python (Async and Sync Messaging) - but this page hasn't been updated since 2024 (before V3 came out). Is there a way to implement this functionality since V3 has come out? Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
Thanks for the question! It is on my todo list to add clear docs on how event driven systems can/should be tested. In the meantime though, I hope that the API docs will suffice. In particular:
When it comes to the verification, you can pass in a handler to There is a slightly outdated example for testing a message consumer and provider. I am yet to migrate these examples to the new directory structure of the current examples. Please let me know if that helps! |
Beta Was this translation helpful? Give feedback.
Thanks for the question! It is on my todo list to add clear docs on how event driven systems can/should be tested.
In the meantime though, I hope that the API docs will suffice. In particular:
You can define an async or synchronous message interaction as part of the
upon_receivingcall:These return an
AsyncMessageInteractionor aSyncMessageInteractionwhich follow generally quite similar patterns to your HTTP method when it comes to defining the interaction itselfWhen it comes to the verific…