Deno.ReadFileOptions.signal - Deno documentation
property Deno.ReadFileOptions.signal

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.

Type

AbortSignal