Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import threadpool
- import httpclient
- proc download() =
- discard(getContent("http://www.google.it"))
- proc mainProc() =
- spawn download()
- sync()
- if isMainModule:
- mainProc()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement