I think this would be easier to use if the params were in an object, no need to stick to a specific order ...
I think it would be easier to handle params as well.. Let's say I don't have any deps and I'd like to specify some configs i have to call it like λ(require.resolve('./calculator'), 'add', [], { name: 'ADD', memory: 256 }); which i think sucks
I would like to call it like
var params = {
handlerName: 'add',
lamdaConfigs: {
name: 'ADD',
memory : '256'
}
}
λ(require.resolve('./calculator'), params);
@EFF said in #19 :