| SessionStop Method (AbstractSessionStopOption) |
Namespace: Bloomberglp.Blpapi
If the specified stopOption is SYNC, then this call blocks until all events relating to this session which are currently being processed have returned from an application supplied EventHandler objects. Once this call returns no further callbacks to EventHandlers will occur. If a synchronous Stop(AbstractSessionStopOption) is called from within an EventHandler callback, the behavior is undefined and may result in a deadlock.
If the specified stopOption is ASYNC then the stop call returns immediately and events may still be being processed in user specified EventHandler objects.