Xuanwo commented on PR #3763: URL: https://github.com/apache/incubator-opendal/pull/3763#issuecomment-1859421264
> Compiler mainly thinked that the `poll_close` method of `<AsyncFile>` is not `async` and cannot use `await` to wait for other threads to complete it, because the competitive relationship will cause memory access errors. `AsyncFile` implements `AsyncWrite`, so you can use it's `AsyncWriteExt` APIs like `close`. *Please note the different between `poll_close()` and `close().await`* -- 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]
