Skip to content

JobExecuteOptions — @gj-kit/nest-operations-jobs

A public interface from @gj-kit/nest-operations-jobs. The signature below is taken directly from the 0.1.1 release declaration.

import { JobExecuteOptions } from '@gj-kit/nest-operations-jobs';
interface JobExecuteOptions {
/**
* Aborts the job in addition to the deadline — e.g. graceful shutdown.
*
* A signal that is **already aborted** short-circuits before the reap and the
* claim: `execute` throws `ERR_JOB_ABORTED`, no row is written and the body
* never runs. Work the host explicitly declined to start must not produce side
* effects, nor a FAILED run row for an operator to chase.
*/
readonly signal?: AbortSignal | undefined;
}

This declaration is the source of truth for parameters, optionality, generics, return values, and public union/type contracts. Check the package golden path and this subpath’s import conditions for required environment, permission, and error boundaries before calling it.

  • Package: @gj-kit/nest-operations-jobs
  • Version: 0.1.1
  • Public entry: .
  • Source: GitHub