bsdahl
Follow
Pinned Loading
-
Watchdog timeout utility for aws ser...
Watchdog timeout utility for aws serverless applications. 1export function watchDog(event, context) {
2let messageStack = [];
3let timeoutId;
45const push = function(message) {
-
Function that will find intersecting...
Function that will find intersecting keys for n number of object arguments. 1export function intersectingKeys(...objects) {
2return objects
3.map((object) => Object.keys(object))
4.sort((a, b) => a.length - b.length)
5.reduce((a, b) => a.filter((key) => b.includes(key)));
-
Function to determine if intersectin...
Function to determine if intersecting keys are equal 1export function areIntersectingKeysEqual(...objects) {
2return objects
3.map((object) => Object.keys(object))
4.sort((a, b) => a.length - b.length)
5.reduce((a, b) => a.filter((key) => b.includes(key)))
-
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.