Changed some asyncio macro code to use the new genSym.
This commit is contained in:
parent
2cedc1d1af
commit
c5ff9650f7
2 changed files with 30 additions and 21 deletions
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue