Job Components: `Interfaces Operations`
Table of contents
Interfaces
- ExecutionStats
- LegacyOperation
- LegacyProcessor
- LegacyReader
- Slice
- SliceAnalyticsData
- SliceRequest
- SliceResult
- SlicerFn
- SlicerRecoveryData
Type Aliases
- CrossValidationFn
- OpAPI
- OpAPIFn
- OpAPIInstance
- ProcessorFn
- ReaderFn
- SelfValidationFn
- SliceQueueLengthFn
- SlicerFns
- SlicerResult
Variables
Type Aliases
CrossValidationFn
Ƭ CrossValidationFn: (job
: ValidatedJobConfig
, sysconfig
: SysConfig
) => void
Type declaration
▸ (job
, sysconfig
): void
Parameters
Name | Type |
---|---|
job | ValidatedJobConfig |
sysconfig | SysConfig |
Returns
void
Defined in
packages/job-components/src/interfaces/operations.ts:8
OpAPI
Ƭ OpAPI: OpAPIFn
| OpAPIInstance
Defined in
packages/job-components/src/interfaces/operations.ts:117
OpAPIFn
Ƭ OpAPIFn: (...args
: any
[]) => any
Type declaration
▸ (...args
): any
Parameters
Name | Type |
---|---|
...args | any [] |
Returns
any
Defined in
packages/job-components/src/interfaces/operations.ts:113
OpAPIInstance
Ƭ OpAPIInstance: Object
Index signature
▪ [method: string
]: OpAPIFn
| any
Defined in
packages/job-components/src/interfaces/operations.ts:114
ProcessorFn
Ƭ ProcessorFn<T
>: (data
: T
, logger
: Logger
, sliceRequest
: SliceRequest
) => Promise
<T
> | T
Type parameters
Name |
---|
T |
Type declaration
▸ (data
, logger
, sliceRequest
): Promise
<T
> | T
Parameters
Name | Type |
---|---|
data | T |
logger | Logger |
sliceRequest | SliceRequest |
Returns
Promise
<T
> | T
Defined in
packages/job-components/src/interfaces/operations.ts:45
ReaderFn
Ƭ ReaderFn<T
>: (sliceRequest
: SliceRequest
, logger
: Logger
) => Promise
<T
> | T
Type parameters
Name |
---|
T |
Type declaration
▸ (sliceRequest
, logger
): Promise
<T
> | T
Parameters
Name | Type |
---|---|
sliceRequest | SliceRequest |
logger | Logger |
Returns
Promise
<T
> | T
Defined in
packages/job-components/src/interfaces/operations.ts:34
SelfValidationFn
Ƭ SelfValidationFn: (config
: OpConfig
) => void
Type declaration
▸ (config
): void
Parameters
Name | Type |
---|---|
config | OpConfig |
Returns
void
Defined in
packages/job-components/src/interfaces/operations.ts:9
SliceQueueLengthFn
Ƭ SliceQueueLengthFn: (executionContext
: LegacyExecutionContext
) => number
| string
Type declaration
▸ (executionContext
): number
| string
Parameters
Name | Type |
---|---|
executionContext | LegacyExecutionContext |
Returns
number
| string
Defined in
packages/job-components/src/interfaces/operations.ts:10
SlicerFns
Ƭ SlicerFns: SlicerFn
[]
Defined in
packages/job-components/src/interfaces/operations.ts:111
SlicerResult
Ƭ SlicerResult: Slice
| SliceRequest
| SliceRequest
[] | null
Defined in
packages/job-components/src/interfaces/operations.ts:99
Variables
sliceAnalyticsMetrics
• Const
sliceAnalyticsMetrics: readonly keyof SliceAnalyticsData
[]