Hi,
Using create_engine_from_binding() creates a sync engine which when running queries blocks the event loop for async functions because it is not awaitable. Is it possible to make a create_async_engine_from_binding()? This way, it isn't necessary to use the D1 API to create an async engine. Or am I missing something and it isn't blocking the event loop?
Thanks!
Goran
Hi,
Using
create_engine_from_binding()creates a sync engine which when running queries blocks the event loop for async functions because it is not awaitable. Is it possible to make acreate_async_engine_from_binding()? This way, it isn't necessary to use the D1 API to create an async engine. Or am I missing something and it isn't blocking the event loop?Thanks!
Goran