SIGN IN SIGN UP

Main Event Loop (#370)

If an event loop exists in the main thread (the thread that called
`DBOS.launch`), submit coroutines to that event loop instead of to the
background event loop.

This is more intuitive behavior, for example, if using DBOS queues
alongside FastAPI, enqueued workflows run in the same event loop as
FastAPI.
P
Peter Kraft committed
712285e7a3365188b8b79f4b677121ae3afb98d2
Parent: 8c021ea
Committed by GitHub <noreply@github.com> on 5/30/2025, 9:50:58 PM