This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.

blocking?

        # Fiber.blocking?

(from ruby core)
---
    Fiber.blocking? -> false or 1

---

Returns `false` if the current fiber is non-blocking. Fiber is
non-blocking if it was created via passing `blocking: false` to
Fiber.new, or via Fiber.schedule.

If the current Fiber is blocking, the method returns 1. Future
developments may allow for situations where larger integers could be
returned.

Note that, even if the method returns `false`, Fiber behaves differently
only if Fiber.scheduler is set in the current thread.

See the "Non-blocking fibers" section in class docs for details.


(from ruby core)
---
    fiber.blocking? -> true or false

---

Returns `true` if `fiber` is blocking and `false` otherwise. Fiber is
non-blocking if it was created via passing `blocking: false` to
Fiber.new, or via Fiber.schedule.

Note that, even if the method returns `false`, the fiber behaves
differently only if Fiber.scheduler is set in the current thread.

See the "Non-blocking fibers" section in class docs for details.



      

This is MURDOC! A Ruby documentation browser inspired by Smalltalk-80. It allows you to learn about Ruby by browsing through its class hierarchies, and see any of its methods.