run_coro_sync

Full name: ase2sprkkr.common.process_output_reader.run_coro_sync

ase2sprkkr.common.process_output_reader.run_coro_sync(coro_func)[source]

Run an async coroutine from a synchronous context, even if an event loop is already running. coro_func must be an async function, not a coroutine object.