1
0
mirror of https://github.com/janet-lang/janet synced 2025-02-17 17:20:01 +00:00
Christopher Chambers 57c954783d Fix resumption values when closing a channel.
When suspended in `ev/give` or `ev/take`, closing the channel should
cause the result of `ev/give` or `ev/take` to be `nil`.

When suspended in `ev/select`, closing the channel should cause the
result of `ev/select` to be `[:close ch]`.

The results were flipped before.
2023-06-07 15:01:56 -04:00
..
2023-01-07 15:04:56 -06:00
2023-06-02 07:04:07 +09:00
2023-06-02 07:04:07 +09:00
2023-06-02 07:04:07 +09:00
2023-06-02 07:04:07 +09:00
2023-06-02 07:04:07 +09:00
2023-06-02 07:04:07 +09:00
2023-06-02 07:04:07 +09:00
2023-06-02 07:04:07 +09:00
2023-06-02 07:04:07 +09:00
2023-06-02 07:04:07 +09:00
2023-06-02 07:04:07 +09:00
2023-06-02 07:04:07 +09:00
2023-06-02 07:04:07 +09:00
2023-06-02 07:04:07 +09:00
2023-06-02 07:04:07 +09:00
2023-06-02 07:04:07 +09:00
2023-06-02 07:04:07 +09:00
2023-06-02 07:04:07 +09:00
2023-06-02 07:04:07 +09:00
2023-06-02 07:04:07 +09:00