MCPcopy Create free account
hub / github.com/scriptscat/scriptcat / constructor

Method constructor

src/app/service/service_worker/value.ts:33–39  ·  view source on GitHub ↗
(
    private group: Group,
    private mq: IMessageQueue
  )

Source from the content-addressed store, hash-verified

31 private runtime: RuntimeService | undefined;
32
33 constructor(
34 private group: Group,
35 private mq: IMessageQueue
36 ) {
37 this.logger = LoggerCore.logger().with({ service: "value" });
38 this.valueDAO.enableCache();
39 }
40
41 async getScriptValueDetails(script: Script) {
42 let data: { [key: string]: any } = {};

Callers

nothing calls this directly

Calls 3

withMethod · 0.80
enableCacheMethod · 0.80
loggerMethod · 0.45

Tested by

no test coverage detected