WEBApp and sleep

Hi,

Is in TMS Web Core some function which works like Delphi sleep?

I have to do something and after that I have to wait for the status change e.g:

while true do
  begin
    if(status) then break;
    sleep(2000);
  end;

Regards,

There is currently no sleep().
You'd typically handle this by a settimeout() in JavaScript or you could use the Delphi TWebTimer object

Ok ... thanks ... I will try use TWebTimer

Regards,