• Get an AbortSignal that aborts when the job ends or is restarted.

    Parameters

    • job: Job<any> = ...

      Optional: the job to get an AbortSignal for. If none is given, the active job is used.

    Returns AbortSignal

    the AbortSignal