vertx / io.vertx.kotlin.ext.mongo / io.vertx.ext.mongo.MongoGridFsClient / downloadFileAsAwait

# downloadFileAsAwait

`suspend fun MongoGridFsClient.downloadFileAsAwait(fileName: String, newFileName: String): Long`

Suspending version of method io.vertx.ext.mongo.MongoGridFsClient.downloadFileAs

### Parameters

`fileName` - the name of the file to download

`newFileName` - the name the file should be saved as

Return

Long

NOTE: This function has been automatically generated from io.vertx.ext.mongo.MongoGridFsClient using Vert.x codegen.