quasar icon indicating copy to clipboard operation
quasar copied to clipboard

Adding Suspendable Functional Interfaces

Open MatanSabag opened this issue 7 years ago • 3 comments

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

MatanSabag avatar Apr 04 '17 13:04 MatanSabag

Sure, but as a separate project first. Just some interface definitions, right?

pron avatar Apr 07 '17 11:04 pron

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?

MatanSabag avatar Apr 10 '17 12:04 MatanSabag

Yes, please.

pron avatar May 03 '17 22:05 pron