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);


Async wrapper around AWS Lambda handler

Latest version published 9 months ago

Package Health Score

53 / 100
Full package analysis

Popular lambda-async functions