Psignal
Bun

property

readline.ReadLineOptions.signal

signal?: AbortSignal

Allows closing the interface using an AbortSignal. Aborting the signal will internally call close on the interface.