async/await
Opened this issue · 0 comments
awestlake87 commented
async int do_it():
await sleep(Seconds(3))
return 13
async print_it():
print(await do_it())
result: async print_it()
await print_it()
await result
Opened this issue · 0 comments
async int do_it():
await sleep(Seconds(3))
return 13
async print_it():
print(await do_it())
result: async print_it()
await print_it()
await result