Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove "call sync" interface for CLI #1370

Closed
wants to merge 3 commits into from

Conversation

CKolkey
Copy link
Member

@CKolkey CKolkey commented Jun 10, 2024

Just try to run async, and if that fails (usually with "cannot yield across c-call boundary") then fallback to running the command and awaiting the result.

Hopefully this should remove some confusion around which interface to use, and will prefer async at all times unless that doesn't work.

Hopefully no side effects.

Could probably be refactored to contain this logic in the process class.

fails (usually with "cannot yield across c-call boundary") then fallback
to running the command and awaiting the result.

Hopefully this should remove some confusion around which interface to
use, and will prefer async at all times unless that doesn't work.
@CKolkey CKolkey force-pushed the remove-call_sync-interface branch from 17276db to 214f2fa Compare June 12, 2024 07:25
@CKolkey CKolkey closed this Jun 30, 2024
@CKolkey CKolkey deleted the remove-call_sync-interface branch June 30, 2024 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant