https://opendal.apache.org/ logo
Hello all, follow up to discussion: https://github...
# general
a
Hello all, follow up to discussion: https://github.com/apache/incubator-opendal/pull/2496 what is the current recommended way to pass operator into async and into threads? I wrote "markdown parser" with threads and async, ended up with
let op_arc = Arc::new(Mutex::new(op));
and cloning it all over code, which looks pretty ugly. I checked code of raising wave and other projects for inspiration but only found Arc. Looks like noone ever reads from OpenDAL in async or thread safe enviroment.
2 Views