Function getJob

  • Return the currently-active Job, or throw an error if none is active.

    (You can check if a job is active first using isJobActive().)

    Type Parameters

    • T = unknown

    Returns Job<T>