Give us feedback
Reactive icon

Sleep in Reactive

Stable version 1.0.0 (Compatible with OutSystems 11)
Uploaded on 14 Mar by 
 (0 ratings)

Sleep in Reactive

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)