Closed eos1d3 closed 4 months ago
Hi @eos1d3 - we have a full request/response example here. That should point out the right pattern to use - Let me know if this helps.
Hi @eos1d3 - since we haven't heard back I'll close out this issue but if anything remains, let us know. We'd be more than happy to help out!
Checklist
issues
.discussions
.❓ Question
I am using
Mqtt5AsyncClient
, after publishing a message, is it possible to wait for a response message inpublishWith
statement?For example, I am using the following codes:
Or I have to write some codes inside
whenComplete
and wait for response message or wait for timeout if no message is received?📎 Additional context