How to use lambda-async - 1 common examples

To help you get started, we’ve selected a few lambda-async examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github blackflux / lambda-monitor / src / handler.js View on Github external
const { wrap: asyncWrap } = require('lambda-async');
const { wrap: cfnWrap } = require('lambda-cfn-hook');
const processLogs = require('./logic/process-logs');
const subscribe = require('./logic/subscribe');
const emptyBucket = require('./logic/empty-bucket');

module.exports.processLogs = asyncWrap(processLogs);
module.exports.subscribe = cfnWrap(subscribe, { silent: true });
module.exports.emptyBucket = cfnWrap(emptyBucket);

lambda-async

Async wrapper around AWS Lambda handler

MIT
Latest version published 1 year ago

Package Health Score

46 / 100
Full package analysis

Popular lambda-async functions