When you're trying to get the best performance out of Python, most developers immediately jump to complex algorithmic fixes, using C extensions, or obsessively running profiling tools. However, one of ...
The @a_sync('async') decorator can be used to define an asynchronous function that can also be executed synchronously.