MCPcopy Index your code
hub / github.com/microsoft/SandDance / adopt

Function adopt

docs/app/js/sanddance-app.js:9310–9314  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

9308var _characterSet = require("./characterSet");
9309var __awaiter = undefined && undefined.__awaiter || function(thisArg, _arguments, P, generator) {
9310 function adopt(value) {
9311 return value instanceof P ? value : new P(function(resolve) {
9312 resolve(value);
9313 });
9314 }
9315 return new (P || (P = Promise))(function(resolve, reject) {
9316 function fulfilled(value) {
9317 try {

Callers 1

stepFunction · 0.70

Calls 1

resolveFunction · 0.70

Tested by

no test coverage detected