How to fire a routine at an interval time
Publicado: Lun Jul 22, 2024 3:18 pm
I need to fire a function at an interval of time (say 5 seconds) till a condition is met.
For example, when the user Presses a button called "Payment", I need to check the status of the payment every 5 seconds till I get the reply "Success" or maximum 10 times whichever is first.
How can I ?
TIA
Milan Mehta.
For example, when the user Presses a button called "Payment", I need to check the status of the payment every 5 seconds till I get the reply "Success" or maximum 10 times whichever is first.
How can I ?
TIA
Milan Mehta.