Changed some asyncio macro code to use the new genSym.

This commit is contained in:
Dominik Picheta 2013-07-25 22:13:37 +01:00
commit c5ff9650f7
2 changed files with 30 additions and 21 deletions

View file

@ -7,6 +7,8 @@ proc processRequest(client: PAsyncSocket, test: string) {.async.} =
let line = await(readLine(client))
echo("Read: ", line)
await send(client, "Goodbye.\c\L")
await send(client, "Goodbye.\c\L")
await send(client, "Goodbye.\c\L")
client.close()