SourceJobStatus
5 min
OCP App SDK / SourceJobStatus
Interface: SourceJobStatus
Defined in: src/app/SourceJob.ts:26
An object with some restrictions. An interface that follows the ValueHash interface can be safely written to any storage option.
Extends
Indexable
Properties
complete
complete: boolean
Defined in: src/app/SourceJob.ts:37
Set to true when the job is complete. If the complete is false in the returned job status, perform will be called again.
state
Defined in: src/app/SourceJob.ts:32
The source job's state. Store any state you need to continue on the next perform loop. The state is expected to change regularly. If your job runs for a long time without the state changing (hours not minutes), it may be considered stalled and could be terminated.