lambda-live-debugger
Version:
Debug Lambda functions locally like it is running in the cloud
23 lines (22 loc) • 543 B
TypeScript
import { FuctionRequest } from './ioTService.js';
/**
* Run the function in a Node.js Worker Thread
* @param input
* @returns
*/
declare function runInWorker(input: {
artifactFile: string;
environment: {
[key: string]: string | undefined;
};
fuctionRequest: FuctionRequest;
}): Promise<void>;
/**
* Stop all Node.js Worker Threads
*/
declare function stopAllWorkers(): Promise<void>;
export declare const NodeWorker: {
runInWorker: typeof runInWorker;
stopAllWorkers: typeof stopAllWorkers;
};
export {};