Get typing support with `asyncify()`
mainasyncify() is designed to preserve typing information. When you wrap a synchronous function, you receive full autocompletion and inline error support for:
- The arguments passed to the original function.
- The return value of the original function.
This support extends to static analysis tools like mypy, helping to catch bugs and ensure type correctness when mixing sync and async code.