Skip to main content

@terascope/job-components / execution-context/utils

execution-context/utils

Functions

getMetric()

getMetric(input, i): number

Parameters

ParameterType
inputnumber[]
inumber

Returns

number

Source

packages/job-components/src/execution-context/utils.ts:4


getOperationAPIType()

getOperationAPIType(api): OperationAPIType

Parameters

ParameterType
apiunknown

Returns

OperationAPIType

Source

packages/job-components/src/execution-context/utils.ts:14


isOperationAPI()

isOperationAPI(api): api is default<APIConfig>

Parameters

ParameterType
apiunknown

Returns

api is default<APIConfig>

Source

packages/job-components/src/execution-context/utils.ts:10