Tap for Pambda.
npm i pambda-tap -S
import { compose, createLambda } from 'pambda';
import { tap } from 'pambda-tap';
export const handler = createLambda(
compose(
tap(),
// Other pambdas
)
)
tapper
- A function with argument
(event, context)
that performs some processing. - The default is to log
event
.
- A function with argument
MIT