UNPKG

@env0/dynamo-easy

Version:

DynamoDB client for NodeJS and browser with a fluent api to build requests. We take care of the type mapping between JS and DynamoDB, customizable trough typescript decorators.

14 lines 324 B
/** * @module helper */ /** * mimics the tap operator from rxjs, will execute some side effect and return the input value * @hidden */ export function promiseTap(tapFunction) { return (arg) => { tapFunction(arg); return Promise.resolve(arg); }; } //# sourceMappingURL=promise-tap.function.js.map