MCPcopy Index your code
hub / github.com/cdk-patterns/serverless / adopt

Function adopt

the-lambda-circuit-breaker/python/lambda_fns/unreliable.js:3–3  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

1'use strict';
2var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3 function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4 return new (P || (P = Promise))(function (resolve, reject) {
5 function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6 function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }

Callers 1

stepFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected