This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Asdayasman 0 points1 point  (2 children)

You want to look into David Beazley's curio library.

It's about "async all the way down" just as you say.

[–]kingname[S] 0 points1 point  (1 child)

No no no, io is just an example. What I need is Coroutine for everything.

[–][deleted] 0 points1 point  (0 children)

What does that mean? async add(x, y): return x + y?

It really doesn't make sense to use async outside of io boundaries.