konsultaner / connectanum-dart

This is a WAMP client (Web Application Messaging Protocol) implementation for the dart language and flutter projects.
MIT License
22 stars 14 forks source link

Session.publish with PublishOptions(acknowledge: false) waits for `PUBLISHED` #40

Closed aarlt closed 2 years ago

aarlt commented 2 years ago

This is a follow up of https://github.com/konsultaner/connectanum-dart/issues/39 and https://github.com/crossbario/crossbar/issues/1940.

If my understanding is correct, there is no need to wait for the PUBLISHED message, if acknowledge was set to false. At least the crossbar router seem to be implemented like this (see https://autobahn.readthedocs.io/en/latest/wamp/programming.html?highlight=acknowledge#publishing-events)