mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
9 lines
210 B
JavaScript
9 lines
210 B
JavaScript
'use strict';
|
|
|
|
const streamifyResponse = awslambda.streamifyResponse;
|
|
|
|
module.exports.handler = streamifyResponse(async (event, responseStream) => {
|
|
responseStream.write('Hello');
|
|
responseStream.end();
|
|
});
|