Skip to main content

ProcessResult

@forge/monorepo


@forge/monorepo / backend/src / ProcessResult

Type Alias: ProcessResult

ProcessResult = object

Defined in: backend/src/runtime/worker.ts:159

Properties

outcome

readonly outcome: ProcessOutcome

Defined in: backend/src/runtime/worker.ts:161


retryAfterMs?

readonly optional retryAfterMs?: number

Defined in: backend/src/runtime/worker.ts:168

How long to wait before trying this run again. Set only for deferred.

Without it a deferred run is re-enqueued immediately and spins against the cap, burning a worker slot on the check itself — which would make a concurrency limit cost more capacity than it saves.


run

readonly run: Run | null

Defined in: backend/src/runtime/worker.ts:160