-
Notifications
You must be signed in to change notification settings - Fork 2
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
Fix Thread Blocking in _invoke_callback() (β Sandbox Passed) #20
base: main
Are you sure you want to change the base?
Conversation
Sandbox Executions
Check broadcast_service/_core.py with contents:
Check tests/test_invoke_callback.py with contents: |
Rollback Files For Sweep
|
Apply Sweep Rules to your PR?
|
Important Auto Review SkippedBot user detected. To trigger a single review, invoke the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on X ? TipsChat with CodeRabbit Bot (
|
PR Feedback (click)
Description
This pull request fixes the issue of thread blocking in the
_invoke_callback()
function in thebroadcast_service/_core.py
file. It adds a callback function to handle the result of thefuture_result
and logs the result if it is not None. It also modifies the_final_invoke_listen_callback()
function to return None instead of the result.Summary
_invoke_callback()
function inbroadcast_service/_core.py
future_result
and log the result if it is not None_final_invoke_listen_callback()
function to return None instead of the resultTestInvokeCallback
intests/test_invoke_callback.py
Fixes #18.
π Latest improvements to Sweep:
π‘ To get Sweep to edit this pull request, you can: