UNPKG

serverless-spy

Version:

CDK-based library for writing elegant integration tests on AWS serverless architecture and an additional web console to monitor events in real time.

6 lines (5 loc) 295 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isStreamingPayload = void 0; const isStreamingPayload = (request) => (request === null || request === void 0 ? void 0 : request.body) instanceof ReadableStream; exports.isStreamingPayload = isStreamingPayload;