Open-EO / openeo-js-client

JavaScript and TypeScript client for the openEO API.
https://open-eo.github.io/openeo-js-client/latest/
Apache License 2.0
15 stars 6 forks source link

Second subscription to the same topic overrides listener #5

Closed christophfriedrich closed 6 years ago

christophfriedrich commented 6 years ago

The subscribe command allows an individual callback for every subscription, i.e. if we've got two subscriptions for the same topic but with different parameters, they can have individual callback functions. So far the listeners are saved per topic, i.e. the second subscription for the same topic overrides the listener of the first subscription to that topic.

m-mohr commented 6 years ago

That was somehow a "known limitation" due to me being rushed getting a first draft. Thanks for the PR.