ruby-concurrency / concurrent-ruby

Modern concurrency tools including agents, futures, promises, thread pools, supervisors, and more. Inspired by Erlang, Clojure, Scala, Go, Java, JavaScript, and classic concurrency patterns.
https://ruby-concurrency.github.io/concurrent-ruby/
Other
5.68k stars 418 forks source link

Add `require 'fiber'` for `Fiber.current` usage. #990

Closed ioquatix closed 1 year ago

ioquatix commented 1 year ago

Fixes https://github.com/ruby-concurrency/concurrent-ruby/issues/962.

ioquatix commented 1 year ago

I think we should also consider moving Fiber.current into core ruby.

ioquatix commented 1 year ago

https://bugs.ruby-lang.org/issues/19453