Welcome to unblock’s documentation!¶
About the project¶
unblock comes with utilities that can be used to convert synchronous functions to async for use in event loop. Here is a basic example,
import asyncio
from unblock import asyncify
@asyncify
def my_sync_func():
#do something
if __name__ == "__main__":
asyncio.run(my_sync_func())
Get It Now¶
pip install get-unblock
Contents: