The page you navigated to () does not exist, so we brought you to the closest page to it.
You have switched from the to the variant of this site. There is no equivalent of . We have taken you to the closest page in the variant.
1.16.16
flytekit.utils.asyn
Manages an async event loop on another thread. Developers should only require to call sync to use the managed loop:
from flytekit.tools.asyn import run_sync
async def async_add(a: int, b: int) -> int: return a + b
result = run_sync(async_add, a=10, b=12)
Directory
Variables
| Property | Type | Description |
|---|---|---|
P |
ParamSpec |
|
T |
TypeVar |
|
loop_manager |
_AsyncLoopManager |