Give us feedback
sleep
Reactive icon

Sleep in Reactive

Stable version 1.0.0 (Compatible with OutSystems 11)
Uploaded on 14 March 2023 by 
0.0
 (0 ratings)
sleep

Sleep in Reactive

Details
Implement Sleep function in Reactive Web using JavaScript
Read more

Based on this article about $resolve() in Outsystems and this link,

I use async/await and Promise to create a sleep function in Client Side.

Please be aware that this will only pause the execution of the code and doesn't put the thread to sleep. JavaScript in web browsers runs on a single thread and does not have access to the thread sleep function, setTimeout() is the only way to delay execution.

Release notes (1.0.0)
License (1.0.0)
Reviews (0)
Team