morristai commented on issue #3097:
URL: 
https://github.com/apache/incubator-opendal/issues/3097#issuecomment-1804970884

   Should changing our public API be a necessity? My current thought is to 
utilize `Semaphore` and `JoinSet` to concurrently execute the stat API. Because 
`JoinSet::spawn()` will execute the task without requiring a call to `await()`. 
As a result, all the tasks that the JoinSet holds will be triggered before 
calling `self.handlers.join_next().await` inside `poll_next()` to obtain the 
result. Please enlighten me if I miss something 🫣.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to