Show HN: Psyllium, a Ruby Gem to make Fibers behave more like Threads

3 points by eestrada 3 months ago | 0 comments
Hi everyone!

I created this small Ruby Gem to add some convenient methods to the Fiber class to make it easier to use in the same way a Thread object can be used.

This was born out of my frustration that the current implementation of the Fiber class makes it difficult to retrieve the final value of a block passed to a Fiber, especially when creating a fiber via the `schedule` class method.

I appreciate any feedback anyone has.