I try to understand the Await/Promise concept that according to the pas2js wiki should be built in into the compiler. But if I just enter this code
Procedure AsyncCall; async; <-- Syntax Error
begin
end;
I get a "Syntax error" from the compiler with no further explanations.
Is this feature probably switched off somehow?
Also, I could not find a demo in the TMS demos that uses this feature. Does this mean it's of no use? If so, what is the best replacement practice?