Hacker News new | ask | show | jobs
Show HN: Psyllium, a Ruby Gem to make Fibers behave more like Threads (github.com)
3 points by eestrada 454 days ago
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.