OnTimer() while Sleep()

 
Hello all I have a question about the OnTimer(). If the OnTimer() should trigger while the EA is in Sleep() will the EA continue to Sleep() or will the OnTimer() function operate?
 
Only one event runs at a time. If OnTick is sleeping, OnTimer is in the queue and will run when OnTick returns.
 
Peoples11:
Hello all I have a question about the OnTimer(). If the OnTimer() should trigger while the EA is in Sleep() will the EA continue to Sleep() or will the OnTimer() function operate?

Sleep function

Suspends the execution of the current thread until the time-out interval elapses.

Reason: