Are MQL functions synchronous?

 
I was wondering whether functions written in MQL are synchronous like in Javascript and if so how can you change this?
 
Ade Bijon:
I was wondering whether functions written in MQL are synchronous like in Javascript and if so how can you change this?
It depends. Some are synchronous, some asynchronous, there is no general rule.
 
I understand that there is no general rule for built-in functions but there must be one for functions you make yourselves right?
 
All functions are called, executed and then finished before code carries on... Is that what you mean? What are you trying to do exactly?
 
I found this thread with a quick search to give you a hint:

https://www.mql5.com/en/forum/161762
Asynchronous Web Request
Asynchronous Web Request
  • 2016.11.23
  • www.mql5.com
I would like to make some HTTP from an EA or even an indicator, the challenge is I want it to be asynchronous, the new WebRequest function is good...
 
Benjamin Dixon:
All functions are called, executed and then finished before code carries on... Is that what you mean? What are you trying to do exactly?
Thanks, that is exactly what I meant indeed!