t3hmrman / situwaition

⏲ situwaition is a Rust utility library that waits for conditions
https://crates.io/crates/situwaition
MIT License
7 stars 0 forks source link

fix: honor timeouts for long sync check #5

Closed t3hmrman closed 1 year ago

t3hmrman commented 1 year ago

Resolves #4

As of PR creation, the new check passes and none of the others do:

cargo nextest run -E 'test(test_unit_sync_executor_with_long_check)'

A couple things left:

t3hmrman commented 1 year ago

Since checking actually attempts to take the value (and exit early), Mutex actually makes the most sense (there is no read-only activity).