Method ReadLoop
ReadLoop(CancellationToken)
Platform-specific implementation of reading input. Runs on background thread, enqueues to InputBuffer.
protected abstract Task ReadLoop(CancellationToken cancellationToken)
Parameters
cancellationTokenCancellationTokenCancellation token to stop reading.
Returns
- Task
A task representing the read loop.