awaitInput
Waits for input to become available on stdin.
Return
true if input is available, false if the timeout was reached.
Parameters
timeoutMs
The maximum time to wait in milliseconds. -1 for infinite.
Waits for input to become available on stdin.
Return
true if input is available, false if the timeout was reached.
Parameters
timeoutMs
The maximum time to wait in milliseconds. -1 for infinite.