clover's git
the-knife
login
about
branches
tags
log
tree
search
issues (5)
Search
the-knife
.repos
alchemy-effect
packages
alchemy
test
AWS
StepFunctions
fixtures
doubler.ts
pretty
plain
permalink
blame
history
•
7 lines
•
216 B
1
/**
2
* Plain async Lambda handler invoked by the compiled Step Functions
3
* program fixture: doubles `value`.
4
*/
5
export const handler = async (event: { value?: number }) => ({
6
doubled: (event.value ?? 0) * 2,
7
});