Deno.WriteFileOptions.signal - Deno documentation
property Deno.WriteFileOptions.signal

An abort signal to allow cancellation of the file write operation.

If the signal becomes aborted the write file operation will be stopped and the promise returned will be rejected with an AbortError.

Type

AbortSignal