nx/docs/generated/devkit/TaskGraphExecutor.md
2023-12-13 16:49:46 +01:00

1.2 KiB

Type alias: TaskGraphExecutor<T>

Ƭ TaskGraphExecutor<T>: (taskGraph: TaskGraph, options: Record<string, T>, overrides: T, context: ExecutorContext) => Promise<BatchExecutorResult | AsyncIterableIterator<BatchExecutorTaskResult>>

Type parameters

Name Type
T any

Type declaration

▸ (taskGraph, options, overrides, context): Promise<BatchExecutorResult | AsyncIterableIterator<BatchExecutorTaskResult>>

Implementation of a target of a project that handles multiple projects to be batched

Parameters
Name Type
taskGraph TaskGraph
options Record<string, T>
overrides T
context ExecutorContext
Returns

Promise<BatchExecutorResult | AsyncIterableIterator<BatchExecutorTaskResult>>