MCPcopy
hub / github.com/microsoft/SandDance / Async

Function Async

docs/app/js/sanddance-app.js:23327–23333  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23325 var Async1 = /** @class */ function(_super) {
23326 (0, _tslib.__extends)(Async, _super);
23327 function Async() {
23328 var _this = _super !== null && _super.apply(this, arguments) || this;
23329 _this.state = {
23330 Component: _syncModuleCache ? _syncModuleCache.get(options.load) : undefined
23331 };
23332 return _this;
23333 }
23334 Async.prototype.render = function() {
23335 // Typescript issue: the rest can't be pulled without the any cast, as TypeScript fails with rest on generics.
23336 // eslint-disable-next-line @typescript-eslint/no-explicit-any

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected