We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d41a05e commit 428b01cCopy full SHA for 428b01c
README.md
@@ -205,3 +205,16 @@ for i in range(len(submissions)):
205
print(result.stdout)
206
print(result.status)
207
```
208
+
209
+### Asynchronous Execution
210
211
+```python
212
+import judge0
213
214
+submission = judge0.async_run(source_code="print('hello, world')")
215
+print(submission.stdout) # Prints 'None'
216
217
+judge0.wait(submissions=submission) # Wait for the submission to finish.
218
219
+print(submission.stdout) # Prints 'hello, world'
220
+```
0 commit comments