Method ReadWithTimeoutAsync
Namespace: Belay.Core
Assembly: Belay.Core.dll
ReadWithTimeoutAsync(int)
Reads available data from the port using timeout-controlled cat.
csharp
public Task<string> ReadWithTimeoutAsync(int timeoutMs = 1000)
Parameters
timeoutMs
int
Timeout in milliseconds.
Returns
Available data as string.