Method
PeekChar
abstract virtual func PeekChar() -> Task<Result<Optional<Character>, TextReadError>>
Declaring type: TextReader
Module: System.IO
Assembly: System.Runtime.dll
Source file: TextReader.rvn
Defined by TextReader.PeekChar · Required implementation (no default).
Interface implementation: Required implementation (no default).
Peeks at the next grapheme without consuming it; None denotes EOF.
Return value
Task<Result<Optional<Character>, TextReadError>>
Awaited Character or a text read error. May buffer underlying input to find a boundary.