'How does event handler of Bloomberg API library behave?
https://bloomberg.github.io/blpapi-docs/java/3.18/com/bloomberglp/blpapi/Session.html
This page says A Session is asynchronous if an EventHandler object is supplied when it is constructed. Does that mean the order of the events received by EventHandler is not guaranteed even the SubscriptionList contains 1 ticker only?
Solution 1:[1]
This is not about event order but about how you retrieve the event - in synchronous mode, you need to call nextEvent to get the next event - in asynchronous mode the processEvent method of your event handler will be called each time a new event is published.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | assylias |
