| 49 | } |
| 50 | |
| 51 | auto isTokenStoppable() |
| 52 | { |
| 53 | return ex::read_env(ex::get_stop_token) |
| 54 | | ex::then([](auto token) noexcept { return token.stop_possible(); }); |
| 55 | } |
| 56 | |
| 57 | TEST_CASE("stop-when substitutes its token when the receiver's token is unstoppable", |
| 58 | "[adaptors][stop-when]") |
no test coverage detected