Is it possible to modify: The following snippet so as to print alternatively "A" and "B", like:
A, B, B, A, A, B, etc...
import asyncdispatch
proc A() {.async.} =
for _ in 1..10:
echo("A")
proc B() {.async.} =
for _ in 1..10:
echo("B")
await A()
await B()
Run
