Hello!
I got a feature request for a second parameter for the waitForReadyRead() function.
Today the only parameter is the time-out. My suggestion would be to add a second parameter that takes the number of chars to wait for, setting that parameter to ‘1’ would give the same behaviour that it has right now. This would be similar to the read command in Posix.
Kind regards
/Johan
↧