Psignal
Bun

property

fs.promises.WatchOptionsWithBufferEncoding.signal

signal?: AbortSignal

When provided the corresponding AbortController can be used to cancel an asynchronous action.