Closed Fuyukai closed 7 years ago
I'm going to merge this, but some changes will be made to the *args, *kwargs calling convention. Throughout Curio, there has been effort to standardize the calling convention of functions that run other functions (e.g., `spawn(func, args),
run_in_thread(func, *args), etc.). Positional arguments are passed to the function itself whereas keyword arguments are used for configuration and options to the operation itself. To pass keyword arguments, you would use
partial()`.
This adds some improvements to the asyncio bridge, such as:
await
ing of foreign coroutinesThe first one was my main use case for one of my projects; it's easier than running the loop manually every time.