@Override
    public void onComplete() {
        if (!writing) {
            maybeCloseFileChannel(null, false);
        } else {
            closing = true;
        }
    }
Asynchronously writes a {@code StreamMessage<HttpMessage>} to a {@link File}.
core/src/main/java/com/linecorp/armeria/common/stream/AsyncFileWriter.java