Method: Fiber.current_scheduler
- Defined in:
- cont.c
.current_scheduler ⇒ Object?
Returns the Fiber scheduler, that was last set for the current thread with Fiber.set_scheduler if and only if the current fiber is non-blocking.
2399 2400 2401 2402 2403 |
# File 'cont.c', line 2399
static VALUE
rb_fiber_current_scheduler(VALUE klass)
{
return rb_fiber_scheduler_current();
}
|