Settings

Theme

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

github.com

3 points by eestrada 9 months ago · 0 comments · 1 min read

Reader

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.

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection