mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-07 12:33:47 +08:00
Rollup-plugin-terser dropped Node <10 and Rollup <2 support (https://github.com/TrySound/rollup-plugin-terser/releases/tag/v6.0.0) and upgraded to Terser 5 (https://github.com/TrySound/rollup-plugin-terser/releases/tag/v7.0.0) DISABLE_THIRD_PARTY_CHECK=NPM update R=jacktfranklin@chromium.org Change-Id: Ifa0085fe5daa052bdfea40720d1852549f4bf316 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2537956 Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org> Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>
22 lines
861 B
TypeScript
22 lines
861 B
TypeScript
/**
|
|
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
/// <reference types="node" />
|
|
import { PoolExitResult, WorkerInterface, WorkerOptions, WorkerPoolOptions } from '../types';
|
|
export default class BaseWorkerPool {
|
|
private readonly _stderr;
|
|
private readonly _stdout;
|
|
protected readonly _options: WorkerPoolOptions;
|
|
private readonly _workers;
|
|
constructor(workerPath: string, options: WorkerPoolOptions);
|
|
getStderr(): NodeJS.ReadableStream;
|
|
getStdout(): NodeJS.ReadableStream;
|
|
getWorkers(): Array<WorkerInterface>;
|
|
getWorkerById(workerId: number): WorkerInterface;
|
|
createWorker(_workerOptions: WorkerOptions): WorkerInterface;
|
|
end(): Promise<PoolExitResult>;
|
|
}
|