Test / fix concurrent async (#559)
Allow some DBOS async functions to run concurrently within a workflow. Add check that the `_async` version of DBOS calls is being used from async contexts (as the sync versions block the event loop and can sometimes deadlock). Added new `DBOS.get_result(wfid)` function (similar to TS) The following async functions are allowed to run concurrently, under `asyncio.gather` et al: `DBOS.run_step_async` `DBOS.start_workflow_async` `DBOS.get_result_async` (new function to get result of WF by ID) `DBOS.get_workflow_status_async` `DBOS.send_async` / `DBOS.recv_async` `DBOS.get_event_async` / `DBOS.set_event_async` `DBOS.sleep_async` `DBOS.write_stream_async` / `DBOS.read_stream_async` Simple WF management and introspection commands.
C
chuck-dbos committed
5bf19827c7503cf9fefa79398eae729d564b58b7
Parent: beda85c
Committed by GitHub <noreply@github.com>
on 1/21/2026, 9:13:54 PM