Skip to content

open

open(this, path, cb): void

Defined in: src/node/async.ts:129

Asynchronous file open. Exclusive mode ensures that path is newly created. Mode defaults to 0644

unknown

PathLike

Callback<[number]>

void

https://nodejs.org/api/fs.html#fsopenpath-flags-mode-callback

open(this, path, flag, cb?): void

Defined in: src/node/async.ts:130

Asynchronous file open. Exclusive mode ensures that path is newly created. Mode defaults to 0644

unknown

PathLike

OpenMode | undefined

Callback<[number]>

void

https://nodejs.org/api/fs.html#fsopenpath-flags-mode-callback

open(this, path, flag, mode, cb?): void

Defined in: src/node/async.ts:131

Asynchronous file open. Exclusive mode ensures that path is newly created. Mode defaults to 0644

unknown

PathLike

OpenMode | undefined

Mode | null | undefined

Callback<[number]>

void

https://nodejs.org/api/fs.html#fsopenpath-flags-mode-callback