MCPcopy Index your code
hub / github.com/MALSync/MALSync / constructor

Method constructor

src/utils/scriptProxy.ts:4–9  ·  view source on GitHub ↗
(
    protected scriptName,
    protected elementId = generateUniqueID(),
  )

Source from the content-addressed store, hash-verified

2
3export class ScriptProxy<T = any> {
4 constructor(
5 protected scriptName,
6 protected elementId = generateUniqueID(),
7 ) {
8 return this;
9 }
10
11 async getData(retry: number = 1): Promise<T> {
12 return new Promise((resolve, reject) => {

Callers

nothing calls this directly

Calls 1

generateUniqueIDFunction · 0.90

Tested by

no test coverage detected