MCPcopy Create free account
hub / github.com/Stevenic/codepilot / adopt

Function adopt

lib/Codepilot.js:26–26  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

24};
25var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
26 function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
27 return new (P || (P = Promise))(function (resolve, reject) {
28 function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
29 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