@seasketch/geoprocessing
Version:
Geoprocessing and reporting framework for SeaSketch 2.0
8 lines (7 loc) • 446 B
TypeScript
/**
* Generates a root function for each Lambda that manages request and response, invoking the underlying Handler.
* This wrapper is necessary because otherwise the GeoprocessingHandler class methods can't properly reference `this`
* @param funcPath - path to gp handler function to wrap
* @param handlerDest - directory to write wrap handler function to
*/
export declare function generateHandler(funcPath: any, handlerDest: any): string;