Actions
Feature #17407
closedFiber.current and require 'fiber'
Feature #17407:
Fiber.current and require 'fiber'
Status:
Closed
Assignee:
-
Target version:
-
Description
Maybe it is not the right time to ask, but why one need to do require 'fiber' before using Fiber.current?
For what I can see,
- it is this way since their introduction,
- the actual code is defined in the core cont.c
- the
ext/fiber.cdoes very little
I was just bitten by it again preparing the changelog (stuck with NoMethodError and for a few minutes thought the build is broken), is there a reason to have it this way?..
Just clarifying for docs sake, at least.
Actions