You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, because Rage scheduler is only available during the request lifecycle, calling Fiber.schedule in the console raises the No scheduler is available! (RuntimeError) error.
Steps to Reproduce
Create a new Rage application.
Open Rage console using the rage c command.
Run Fiber.schedule { sleep(1); puts("hello") }.
Actual behaviour: No scheduler is available! (RuntimeError) is raised.
Expected behaviour: the fiber is executed in the synchronous manner.
Description
Currently, because Rage scheduler is only available during the request lifecycle, calling
Fiber.schedule
in the console raises theNo scheduler is available! (RuntimeError)
error.Steps to Reproduce
rage c
command.Fiber.schedule { sleep(1); puts("hello") }
.No scheduler is available! (RuntimeError)
is raised.Tips
The text was updated successfully, but these errors were encountered: