function fsync
Jump to headingfsync(fd: number,callback: NoParamCallback,): void
Request that all data for the open file descriptor is flushed to the storage
device. The specific implementation is operating system and device specific.
Refer to the POSIX fsync(2)
documentation for more detail. No arguments other
than a possible exception are given to the completion callback.
Parameters Jump to heading
Jump to headingfd: number
Jump to headingcallback: NoParamCallback
Return Type Jump to heading
void