appendFileAsync
abstract fun appendFileAsync(data: String, options: FileHandleAppendFileAsyncOptions? = definedExternally): Promise<Void>(source)
abstract fun appendFileAsync(data: String, options: BufferEncoding? = definedExternally): Promise<Void>(source)
abstract fun appendFileAsync(data: Uint8Array<*>, options: FileHandleAppendFileAsyncOptions? = definedExternally): Promise<Void>(source)
abstract fun appendFileAsync(data: Uint8Array<*>, options: BufferEncoding? = definedExternally): Promise<Void>(source)
Alias of filehandle.writeFile()
.
When operating on file handles, the mode cannot be changed from what it was set to with fsPromises.open()
. Therefore, this is equivalent to filehandle.writeFile()
.
Since
v10.0.0
Return
Fulfills with undefined
upon success.