Open MatanSabag opened 7 years ago
Sure, but as a separate project first. Just some interface definitions, right?
Yes, exactly, copying the same interface definitions with the appropriate Suspendable modification. Should I open a github project for that and send a link to you here when it's done?
Yes, please.
Java's built-in functional interfaces (such as Consumer) don't support Fibers because they don't throw SuspendableExecution.
Adding a library for that is needed. In my own projects, I added some (such as SuspendableConsumer), and I can find time to work on it and contribute it if you wish.
Matan