Skip to main content
fdatasyncSync - fs - Node documentation
function fdatasyncSync

Usage in Deno

import { fdatasyncSync } from "node:fs";
fdatasyncSync(fd: number): 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. Returns undefined.

Parameters

fd: number

Return Type

void
Back to top