unsync
unsync copied to clipboard
Unsynchronize asyncio
For context, I am a new user of unsync and I am exploring its use for the problem of running concurrent code triggered from a tkinter gui. I'm currently studying...
Scenarios like these are not currently supported: ```python @unsync def my_gen(block_size): while block := slow_read(block_size): yield from block async def my_consumer(): async for item in my_gen(1000): print(f"Found item: {item}") ```...
Typing
It would be great if the IDE could understand that an unsynced method returns an `Unfuture` rather than the usual data. And it would be even sweater if the `Unfuture`...