About Sleep component
The purpose of this application is to perform an action after waiting for a certain amount of time.
This time is given by the user in seconds.
When entering the application, a field to fill is presented.
In the field to fill in, we entered a positive number that we intend to be the time that will be in sleep mode.
Later when the number is entered correctly in the field, we click on the sleep button
By clicking on the button the page will be in sleep mode for the defined time (you can see it at the top of the page)
At the end of the waiting time, you should present a message of success
Instructions to use Sleep component
The purpose of this application is to perform an action after waiting for a certain amount of time.This time is given by the user in seconds.On this page, we will see the functionality behind the buttons for implementations.
In this screen, the number placed in the field will be stored in a variable that will be used later
There is also the actions sleep that will be executed when we click on the sleep button
In the action, we have the sleep function that will communicate with C# and also the success message in return
In the sleep action, enter the variable with the number placed in the input and it will be multiplied by 1000 because the function in C# recognizes only milliseconds