Skip to content

Commit

Permalink
Add note about blocking call
Browse files Browse the repository at this point in the history
  • Loading branch information
Manvi-Agrawal committed Jun 11, 2024
1 parent b4a6694 commit e8b6a28
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/bloqade/submission/quera.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@ def task_results(self, task_id: str) -> QuEraTaskResults:
Returns:
task_result (QuEraTaskResults):
Final result of a task previously submitted by using the task id.
Note:
This is a blocking call, meaning the function will not
return till the task has stopped.
"""
return QuEraTaskResults(**self.queue_api.poll_task_results(task_id))

Expand Down

0 comments on commit e8b6a28

Please sign in to comment.