mirror of
https://github.com/openai/codex.git
synced 2026-10-20 17:38:45 +00:00
Update `run()` to take `cancel_flag: Arc<AtomicBool>` that the worker threads will periodically check to see if it is `true`, exiting early (and returning empty results) if so.