Get an AbortSignal that aborts when the job ends or is restarted.
Optional: the job to get an AbortSignal for. If none is given, the active job is used.
the AbortSignal
Get an AbortSignal that aborts when the job ends or is restarted.