Question on BeginInvokeOnMainThread in 4.2+

Created at 24 Jul 2022, 11:00
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
00

0000wj

Joined 12.05.2020

Question on BeginInvokeOnMainThread in 4.2+
24 Jul 2022, 11:00


I have noticed that CTrader 4.2+ forced all invocation to automation API be called in main thread only.

 

Therefore I have a question:

 

Wouldn't this block the main thread? Basically IO calls like 

<ticks>.LoadMoreHistory() originally can be called in parallel, now they have to be called sequentially?


@0000wj