betty.asyncio module¶ Provide asynchronous programming utilities. async betty.asyncio.gather(*coroutines: Coroutine[Any, None, _T]) → tuple[_T, ...][source]¶ Gather multiple coroutines. This is like Python’s own asyncio.gather, but with improved error handling. betty.asyncio.wait_to_thread(f: Awaitable[_T]) → _T[source]¶ Wait for an awaitable in another thread.