#!/usr/bin/env python
import time
import adatasks
@adatasks.async
def f(arg1, kwarg = 23, sleep = 0):
time.sleep(sleep)
print sleep, arg1, kwarg
def main():
f(26, sleep = 0.2)
f(kwarg = 34, arg1 = 23, sleep = 0.1)
f(22, sleep = 0)
print 'main!'
if __name__ == "__main__":
main()
time.sleep(2)