mirror of
https://github.com/openai/codex.git
synced 2026-11-29 00:00:54 +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.