Hello,
I am wondering if there is a function that releases the CPU to do other stuff while my javascript program is executing within a loop?
I guess what I am looking for is something similar to the
"DoEvents" function in Visual Basic which releases the CPU to take care of other queued request.
DoEvents is a Visual Basic function that yields execution so the operating system can process other events.
Thanks.
I am wondering if there is a function that releases the CPU to do other stuff while my javascript program is executing within a loop?
I guess what I am looking for is something similar to the
"DoEvents" function in Visual Basic which releases the CPU to take care of other queued request.
DoEvents is a Visual Basic function that yields execution so the operating system can process other events.
Thanks.