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

Method constructor

packages/hydrojudge/src/task.ts:50–52  ·  view source on GitHub ↗
(public session: Session, public request: JudgeRequest)

Source from the content-addressed store, hash-verified

48 mainContext = trace.setSpan(context.active(), this.span);
49
50 constructor(public session: Session, public request: JudgeRequest) {
51 logger.debug('%o', request);
52 }
53
54 startChildSpan(name: string, attributes?: Record<string, any>) {
55 const span = this.tracer.startSpan(name, { attributes }, this.mainContext);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected