(unit: Unit)
Initialize the child process and event loop, then execute the coroutine.
Initialize the child process and event loop, then execute the coroutine.
Initialize the child process and event loop then execute the coroutine .
def run_async(unit: Unit) -> R:
        """Initialize the child process and event loop, then execute the coroutine."""
        try:
            result: R = Process.run_async(unit)
            unit.namespace.result = result
            return result

        except BaseException as e:
            unit.namespace.result = e
            raise
def run_async ( unit : Unit ) -> R : try : result : R = Process . run_async ( unit ) unit . namespace . result = result return result except BaseException as e : unit . namespace . result = e raise