Koryto

Pronounced like corrito, which is pronounced as if you combined coroutine and burrito, because everyone knows coroutines are burritos in the category of endofunctors.

Game loop focused async executor for all your coroutine needs. Inspired by macroquad's experimental coroutines, the cosync crate, Unity's amazing coroutines, and lastly Godot's coroutines which for a while weren't true burritos.

Pigs eating from a trough

Koryto in Czech means trough, which is the thingy pigs eat from.

FAQ

Is this stable?

No.

Why not just use cosync when this does exactly the same thing?

While cosync does work its API is a little more flexible than feels convenient for games. Macroquad's coroutines are more closely aligned with the philosophy of this crate. If you like cosync, keep using it!