asyncio compiles again
This commit is contained in:
parent
4d863ebb5e
commit
1ee87b88ee
1 changed files with 22 additions and 21 deletions
|
|
@ -671,6 +671,7 @@ when isMainModule:
|
|||
testRead(s, 2)
|
||||
disp.register(client)
|
||||
|
||||
proc main =
|
||||
var d = newDispatcher()
|
||||
|
||||
var s = AsyncSocket()
|
||||
|
|
@ -692,4 +693,4 @@ when isMainModule:
|
|||
d.register(server)
|
||||
|
||||
while d.poll(-1): discard
|
||||
|
||||
main()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue