elena
elena

Reputation: 4188

A callback for publish method in Autobahn?

I wonder why there is no callback defined on the publish method in AutobahnJS? I think it would be useful for the client who tries to publish something to know whether their publish call succeeded or not and react accordingly. I wonder if other frameworks that support pub/sub have such a callback for publishing.

Upvotes: 1

Views: 248

Answers (1)

oberstet
oberstet

Reputation: 22051

How do you define "success" for a publish? Depending on that, PubSub will get very different. Today, WAMP PubSub is a Best-Effort service. WAMPv2 might get other QoS levels in addition.

Upvotes: 1

Related Questions