You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove task in handle_tasks in async_compute example (#20175)
# Objective
- It seems counterintuitive that the task removes itself
- More than once I have tried copying the code from this example and
then remove the content of the task to replace it with what I need and
then I get errors about a task being polled after it's already completed
because I never removed it.
## Solution
- Remove the task in the handle_tasks system after it's done being
"handled".
## Testing
- Ran the example and it still works as expected
0 commit comments