Taking a look at the Virtual Tables it would be cool if the methods could be asyncio compatible such that e.g. Next is non blocking (awaitable).
This would ideally allow downstream users to await the results of a cursor call and eventually use apsw for an asyncio-compatible SQLALchemy dialect.
Related library with a ticket for asyncio: plasticityai/supersqlite#2
It seems like the db API interface could be made async followings approach in https://github.com/omnilib/aiosqlite but that doesn't solve the allowing the virtual table functions themselves to use non blocking calls.
Taking a look at the Virtual Tables it would be cool if the methods could be asyncio compatible such that e.g.
Nextis non blocking (awaitable).This would ideally allow downstream users to await the results of a cursor call and eventually use apsw for an asyncio-compatible SQLALchemy dialect.
Related library with a ticket for asyncio: plasticityai/supersqlite#2
It seems like the db API interface could be made async followings approach in https://github.com/omnilib/aiosqlite but that doesn't solve the allowing the virtual table functions themselves to use non blocking calls.