PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WEBDEV] Wait/Sleep/Delay function
[WEBDEV] Wait/Sleep/Delay function
Iniciado por guest, 11,jul. 2017 09:14 - 3 respuestas
Publicado el 11,julio 2017 - 09:14
Hello,
I cannot find a function in order to wait (or sleep) a server process x seconds.
Could anyone indicate what function I must use?.
Thank you

Victor Diego
Publicado el 11,julio 2017 - 10:49
Hi,

By default a server is sleeping until you post something? (Depending on the type AWP,PHP etc.)

Multitask(n) would do a pause/sleep in code

cheers
Tor-Bjarne
Publicado el 11,julio 2017 - 17:00
I only want to wait x seconds between the execution of 2 functions:

EmailCloseSession(MySession)
wait(2 seconds)
bOk=EmailStartSession(MySession)

Thank you
Publicado el 11,julio 2017 - 17:32
Hi Victor,

then, as Tor-Bjarne was saying in his previous answer, you need to use MULTITASK.

Best regards