UNPKG

serverless-offline-edge-lambda

Version:

A plugin for the Serverless Framework that simulates the behavior of AWS CloudFront Edge Lambdas while developing offline.

8 lines 294 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.asyncMiddleware = void 0; function asyncMiddleware(fn) { return (req, res, next) => fn(req, res, next).catch(next); } exports.asyncMiddleware = asyncMiddleware; //# sourceMappingURL=async.middleware.js.map