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