Skip to main content

ReadFileOptions

interface Deno.ReadFileOptions

Options which can be set when using Deno.readFile or Deno.readFileSync.

Properties Jump to heading

optional
Jump to headingsignal: AbortSignal

An abort signal to allow cancellation of the file read operation. If the signal becomes aborted the readFile operation will be stopped and the promise returned will be rejected with an AbortError.

Back to top