mapleFU commented on PR #41232:
URL: https://github.com/apache/arrow/pull/41232#issuecomment-2061176540
```
/// \brief Close the stream asynchronously
///
/// By default, this will just submit the synchronous Close() to the
/// default I/O thread pool. Subclasses may implement this in a more
/// efficient manner.
virtual Future<> CloseAsync();
Future<> FileInterface::CloseAsync() {
return DeferNotOk(
default_io_context().executor()->Submit([this]() { return Close(); }));
}
```
Oh, the FileInterface has already implement `CloseAsync` in this manner( but
in default io thread pool), maybe I should rethink the syntax here
--
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]