Skip to main content

@terascope/job-components / execution-context

execution-context

References

EventHandlers

Re-exports EventHandlers


ExecutionContextAPI

Re-exports ExecutionContextAPI


ExecutionContextConfig

Re-exports ExecutionContextConfig


JobAPIInstance

Re-exports JobAPIInstance


JobAPIInstances

Re-exports JobAPIInstances


MetadataFns

Re-exports MetadataFns


RunSliceResult

Re-exports RunSliceResult


SliceStatus

Re-exports SliceStatus


SlicerExecutionContext

Re-exports SlicerExecutionContext


SlicerOperations

Re-exports SlicerOperations


WorkerExecutionContext

Re-exports WorkerExecutionContext


WorkerOperations

Re-exports WorkerOperations


WorkerSliceState

Re-exports WorkerSliceState


WorkerStatus

Re-exports WorkerStatus


getMetric

Re-exports getMetric


getOperationAPIType

Re-exports getOperationAPIType


isOperationAPI

Re-exports isOperationAPI

Type Aliases

ExecutionContext

ExecutionContext: WorkerExecutionContext | SlicerExecutionContext

Source

packages/job-components/src/execution-context/index.ts:19

Functions

isSlicerExecutionContext()

isSlicerExecutionContext(context): context is SlicerExecutionContext

Parameters

ParameterType
contextunknown

Returns

context is SlicerExecutionContext

Source

packages/job-components/src/execution-context/index.ts:15


isWorkerExecutionContext()

isWorkerExecutionContext(context): context is WorkerExecutionContext

Parameters

ParameterType
contextunknown

Returns

context is WorkerExecutionContext

Source

packages/job-components/src/execution-context/index.ts:11


makeExecutionContext()

makeExecutionContext(config): Promise<ExecutionContext>

Parameters

ParameterType
configExecutionContextConfig

Returns

Promise<ExecutionContext>

Source

packages/job-components/src/execution-context/index.ts:21