tnestedpfuturetypeparam.nim 195 B

123456789
  1. import asyncdispatch, asyncnet
  2. proc main {.async.} =
  3. proc f: Future[seq[int]] {.async.} =
  4. await newAsyncSocket().connect("www.google.com", Port(80))
  5. let x = await f()
  6. asyncCheck main()