schedulerHttpTargets — @gj-kit/nest-operations-jobs
A public function from @gj-kit/nest-operations-jobs/core. The signature below is taken directly from the 0.1.1 release declaration.
Verified import example
Section titled “Verified import example”import { schedulerHttpTargets } from '@gj-kit/nest-operations-jobs/core';Signature, parameters, and return type
Section titled “Signature, parameters, and return type”/** * Entries with a schedule and `schedulerHttpSync !== false`, in catalog order. * * Throws `ERR_JOB_INVALID` when a job's deadline plus margin exceeds * `maxAttemptDeadlineSeconds`. Clamping it would emit a target that abandons the * attempt while the first body is still running: the scheduler records a * deadline-exceeded failure and retries, the retry is answered SKIPPED/200 for a * `forbid` job, and the operator ends up with a permanently red scheduler job * whose runs all succeed. The sync tool must not be handed that shape. */declare function schedulerHttpTargets(catalog: Iterable<JobCatalogEntry>, options: SchedulerHttpTargetOptions): readonly SchedulerHttpTarget[];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.
Release context
Section titled “Release context”- Package:
@gj-kit/nest-operations-jobs - Version:
0.1.1 - Public entry:
./core - Source: GitHub