bundles / jupyter_core latest / jupyter_core / utils / run_sync
function
jupyter_core.utils:run_sync
Signature
def run_sync(coro: Callable[..., Awaitable[T]]) → Callable[..., T]Summary
Wraps coroutine in a function that blocks until it has executed.
Parameters
coro: coroutine-functionThe coroutine-function to be executed.
Returns
: resultWhatever the coroutine-function returns.
Aliases
jupyter_core.utils.run_sync