Add asynctools adapter
This commit is contained in:
parent
81c24860e2
commit
5df69fc696
7 changed files with 137 additions and 31 deletions
|
|
@ -126,7 +126,7 @@ const
|
|||
NewLines* = {'\r', '\n'}
|
||||
Digits* = {'0'..'9'}
|
||||
|
||||
proc readLine*(s: InputStream, keepEol = false): TaintedString =
|
||||
proc readLine*(s: InputStream, keepEol = false): TaintedString {.fsMultiSync.} =
|
||||
fsAssert readableNow(s)
|
||||
|
||||
while s.readable:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue