-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Description
When passing data with callback it's working fine (the Next state is being triggered).
export const handler = (event, context, cb) => {
cb(null, {
data: result
});
};
But when I'm using async functions (promises) instead:
export const handler = async event => {
return {
data: result
};
};
It's not working, the process is shutting down. The Next state it's not being triggered at all.
lukemcgregor and stall84
Metadata
Metadata
Assignees
Labels
No labels