Skip to content

Allow async condition predicates#36

Merged
Suke0811 merged 1 commit intomainfrom
codex/investigate-improvements-for-fapin-library
Oct 9, 2025
Merged

Allow async condition predicates#36
Suke0811 merged 1 commit intomainfrom
codex/investigate-improvements-for-fapin-library

Conversation

@Suke0811
Copy link
Copy Markdown
Owner

Summary

  • allow RateControl to await coroutine condition predicates in async modes while rejecting them in synchronous loops
  • update the spin decorator/context docs and cheatsheet to document the new behaviour and show async predicate examples
  • extend the test suite with async condition coverage and a guard that sync loops raise when given coroutine predicates

Testing

  • pytest

https://chatgpt.com/codex/tasks/task_e_68d43b5c1460832c8c05c82db71e4be0

@Suke0811 Suke0811 merged commit 9386631 into main Oct 9, 2025
7 checks passed
@Suke0811 Suke0811 deleted the codex/investigate-improvements-for-fapin-library branch October 9, 2025 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant