This commit is contained in:
Yuriy Glukhov
2017-06-18 00:52:56 +03:00
parent d947753523
commit 58eae1171d
3 changed files with 5 additions and 2 deletions

View File

@@ -51,5 +51,8 @@ proc main() =
var builder = newBuilder()
# Test {.async.} pragma with do notation: #5995
builder.client = newClient("builder") do(client: Client, msg: JsonNode) {.async.}:
await onMessage(builder, msg)
main()