I have a function which is working fine with one variable but when I pass two values one by one its countdown for value one and then start the countdown for value two.
I want to start counting for each value as soon as a value comes in it.
ex A and B are two vales
A is running
1, 2, 3
and in the meantime, B comes so it not interrupt A and start from 1 for B.
how to start countdown for two variables at a time
I have a function which is working fine with one variable but when I pass two values one by one its countdown for value one and then start the countdown for value two.
I want to start counting for each value as soon as a value comes in it.
ex A and B are two vales
A is running
1, 2, 3
and in the meantime, B comes so it not interrupt A and start from 1 for B.
A 4, 5.......... B 1, 2, 3.............
Please help