blob: c380f93e1425134c0515990348a8ea571d8a7f3f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
discard """
output: '''
testCallback()
'''
"""
import asyncdispatch
proc testCallback() =
echo "testCallback()"
when isMainModule:
callSoon(testCallback)
poll()
|