MCPcopy Create free account
hub / github.com/hydro-dev/Hydro / statistics

Method statistics

framework/framework/server.ts:513–519  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

511 }
512
513 public statistics() {
514 const count = Counter();
515 for (const [, t] of this.activeHandlers.entries()) {
516 count[t.name]++;
517 }
518 return count;
519 }
520
521 async listen() {
522 this.ctx.effect(() => () => {

Callers 1

collectFunction · 0.80

Calls 1

CounterFunction · 0.90

Tested by

no test coverage detected