Waits the specified number of milliseconds and returns the value of the millisecond timer. This function makes asynchronous system calls, but the nodes themselves function synchronously. Therefore, it does not complete execution until the specified time has elapsed. Timer resolution is system dependent and might be less accurate than one millisecond.
![]() |
milliseconds to wait is the input used to specify how many milliseconds to wait. |
![]() |
millisecond timer value returns the value of the millisecond timer. |