I
Iñaki Baz Castillo
Hi, calling Fiber.yield without being in the context of a created
Fiber raises an error:
can't yield from root fiber (FiberError)
It makes sense, of course. However I would like to know how to check
whether I'm into the root Fiber or not. The documentation doesn't
provide a method for this purpose. Is there a way? I expected
something like Fiber#root?.
Thanks a lot.
--=20
I=C3=B1aki Baz Castillo
<[email protected]>
Fiber raises an error:
can't yield from root fiber (FiberError)
It makes sense, of course. However I would like to know how to check
whether I'm into the root Fiber or not. The documentation doesn't
provide a method for this purpose. Is there a way? I expected
something like Fiber#root?.
Thanks a lot.
--=20
I=C3=B1aki Baz Castillo
<[email protected]>