modofun icon indicating copy to clipboard operation
modofun copied to clipboard

Support for more than one functionality

Open rasekar2000 opened this issue 6 years ago • 1 comments

Hello Team, https://github.com/modofunjs/modofun/blob/master/examples/todo-aws-lambda/index.js

Can I have more than one module const myModule = require('./myModule');

and export them together to be registered in the serverless framework.

for e.g

const myModule = require('./myModule'); const yourModule = require('./yourModule');

exports.handler = modofun(myModule, yourModule, [ morgan('tiny') ])

If such feature is not available now, is this requirement can be considered for future enhancement.

Thanks and Regards, Raj

rasekar2000 avatar Nov 24 '18 19:11 rasekar2000

Will have to check this SOF Linkexport concept with Google Cloud Function. Seems Firebase Function will work. https://stackoverflow.com/a/46572787/4987993

rasekar2000 avatar Nov 25 '18 01:11 rasekar2000