Last change
on this file since 6a3a178 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1.4 KB
|
Line | |
---|
1 | /// <amd-module name="@angular/compiler-cli/ngcc/src/execution/cluster/executor" />
|
---|
2 | /**
|
---|
3 | * @license
|
---|
4 | * Copyright Google LLC All Rights Reserved.
|
---|
5 | *
|
---|
6 | * Use of this source code is governed by an MIT-style license that can be
|
---|
7 | * found in the LICENSE file at https://angular.io/license
|
---|
8 | */
|
---|
9 | import { PathManipulation } from '../../../../src/ngtsc/file_system';
|
---|
10 | import { Logger } from '../../../../src/ngtsc/logging';
|
---|
11 | import { AsyncLocker } from '../../locking/async_locker';
|
---|
12 | import { FileWriter } from '../../writing/file_writer';
|
---|
13 | import { PackageJsonUpdater } from '../../writing/package_json_updater';
|
---|
14 | import { AnalyzeEntryPointsFn, CreateCompileFn, Executor } from '../api';
|
---|
15 | import { CreateTaskCompletedCallback } from '../tasks/api';
|
---|
16 | /**
|
---|
17 | * An `Executor` that processes tasks in parallel (on multiple processes) and completes
|
---|
18 | * asynchronously.
|
---|
19 | */
|
---|
20 | export declare class ClusterExecutor implements Executor {
|
---|
21 | private workerCount;
|
---|
22 | private fileSystem;
|
---|
23 | private logger;
|
---|
24 | private fileWriter;
|
---|
25 | private pkgJsonUpdater;
|
---|
26 | private lockFile;
|
---|
27 | private createTaskCompletedCallback;
|
---|
28 | constructor(workerCount: number, fileSystem: PathManipulation, logger: Logger, fileWriter: FileWriter, pkgJsonUpdater: PackageJsonUpdater, lockFile: AsyncLocker, createTaskCompletedCallback: CreateTaskCompletedCallback);
|
---|
29 | execute(analyzeEntryPoints: AnalyzeEntryPointsFn, _createCompileFn: CreateCompileFn): Promise<void>;
|
---|
30 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.