signal

abstract var signal: ERROR CLASS: Symbol not found for AbortSignal??(source)

Allows destroying the stream if the signal is aborted.