crystal-lang / crystal

The Crystal Programming Language
https://crystal-lang.org
Apache License 2.0
19.26k stars 1.61k forks source link

Use `Fiber#enqueue` #14561

Closed ysbaddaden closed 2 months ago

ysbaddaden commented 2 months ago

Replaces calls to Crystal::Scheduler.enqueue(fiber) to fiber.enqueue.

Related to the other PRs that abstract Crystal::Scheduler away.