fix for nimInAction
This commit is contained in:
parent
161e14829a
commit
6946116272
16 changed files with 88 additions and 33 deletions
|
|
@ -1,3 +1,7 @@
|
|||
discard """
|
||||
action: compile
|
||||
"""
|
||||
|
||||
import os, threadpool, asyncdispatch, asyncnet
|
||||
import protocol
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
discard """
|
||||
action: compile
|
||||
"""
|
||||
|
||||
import asyncdispatch, asyncnet
|
||||
|
||||
type
|
||||
|
|
@ -81,4 +85,4 @@ when isMainModule:
|
|||
echo("Server initialised!")
|
||||
# Execute the ``loop`` procedure. The ``waitFor`` procedure will run the
|
||||
# asyncdispatch event loop until the ``loop`` procedure finishes executing.
|
||||
waitFor loop(server)
|
||||
waitFor loop(server)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue