GitHub user kpole added a comment to the discussion: How to design opendal c 
binding's async api

That's a good question, the existing blocking C API use tokio, but block_on 
doesn't use tokio's runtime, instand,  it operates on the current thread. In 
contrast, async IO execute at runtime and communicates with external through 
callbacks or event loops.

I initially thought sync io would be built on top of async io. However, for 
now, sync io seems more stable, and I prefer to provide a separate api to 
implement async io for produciton use.

GitHub link: 
https://github.com/apache/opendal/discussions/6082#discussioncomment-14017717

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to