Available Coroutine Libraries in Java

Javaflow is a continuation implementation, it will probably let you do that. It uses bytecode manipulation though.

Anyway, it feels like you’re trying to do OOP with plain C. It’s doable but it doesn’t mean you should do it.

Leave a Comment