Skip to content

Fdatasync

[<Interface>]
type Fdatasync =
    abstract member Invoke (fd: float, callback: NoParamCallback) : unit
    abstract member __promisify__ (fd: float) : Promise<unit>
AssemblyXantham.Fable.Node

Methods

abstract member Invoke (fd: float, callback: NoParamCallback) : unit

Forces all currently queued I/O operations associated with the file to the operating system's synchronized I/O completion state. Refer to the POSIX fdatasync(2) documentation for details. No arguments other than a possible exception are given to the completion callback.

@since v0.1.96

abstract member __promisify__ (fd: float) : Promise<unit>

Asynchronous fdatasync(2) - synchronize a file's in-core state with storage device.

Parameter
fdA file descriptor.