summary refs log blame commit diff stats
path: root/tests/async/t7192.nim
blob: 9ac0e07c075891c90df4cac7bca6ab9a88cf9691 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                       
          

                        
discard """
output: '''
testCallback()
'''
"""

import asyncdispatch

proc testCallback() =
  echo "testCallback()"

when true:
  callSoon(testCallback)
  poll()