Nfdatasync
Bun

namespace

fs.fdatasync

function fdatasync(
fd: number,
callback: NoParamCallback
): void;

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.

namespace fdatasync