crystal-lang / crystal

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

Non-blocking channel send method #12090

Open syalon opened 2 years ago

syalon commented 2 years ago

Don't know if it is possible to add non-blocking channel send method. If the channel has no free capacity, an exception is thrown directly. Do not block the current fiber.

straight-shoota commented 2 years ago

This is parallel to #8222. It probably makes sense to embrace both aspects together?