vertx / io.vertx.kotlin.core.file / io.vertx.core.file.AsyncFile

Extensions for io.vertx.core.file.AsyncFile

closeAwait

suspend fun AsyncFile.closeAwait(): Unit

Suspending version of method io.vertx.core.file.AsyncFile.close

endAwait

suspend fun AsyncFile.endAwait(data: Buffer): Unit
suspend fun AsyncFile.endAwait(): Unit

Suspending version of method io.vertx.core.file.AsyncFile.end

flushAwait

suspend fun AsyncFile.flushAwait(): Unit

Suspending version of method io.vertx.core.file.AsyncFile.flush

pipeToAwait

suspend fun AsyncFile.pipeToAwait(dst: WriteStream<Buffer>): Unit

Suspending version of method io.vertx.core.file.AsyncFile.pipeTo

readAwait

suspend fun AsyncFile.readAwait(buffer: Buffer, offset: Int, position: Long, length: Int): Buffer

Suspending version of method io.vertx.core.file.AsyncFile.read

writeAwait

suspend fun AsyncFile.writeAwait(data: Buffer): Unit
suspend fun AsyncFile.writeAwait(buffer: Buffer, position: Long): Unit

Suspending version of method io.vertx.core.file.AsyncFile.write