diff options
Diffstat (limited to 'tests/niminaction/Chapter3/ChatApp/src/server.nim')
-rw-r--r-- | tests/niminaction/Chapter3/ChatApp/src/server.nim | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/niminaction/Chapter3/ChatApp/src/server.nim b/tests/niminaction/Chapter3/ChatApp/src/server.nim index 8c572aeb0..31da74d16 100644 --- a/tests/niminaction/Chapter3/ChatApp/src/server.nim +++ b/tests/niminaction/Chapter3/ChatApp/src/server.nim @@ -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) \ No newline at end of file + waitFor loop(server) |