MCPcopy Index your code
hub / github.com/hydro-dev/Hydro / check

Method check

packages/hydrooj/src/handler/manage.ts:68–73  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66 }
67
68 async check() {
69 const log = (payload: any) => this.send({ type: 'log', payload });
70 const warn = (payload: any) => this.send({ type: 'warn', payload });
71 const error = (payload: any) => this.send({ type: 'error', payload });
72 await this.ctx.check.run(this, log, warn, error, (id) => { this.id = id; });
73 }
74
75 async cleanup() {
76 this.ctx.check.cancel(this.id);

Callers 3

prepareMethod · 0.95
addFunction · 0.45
editFunction · 0.45

Calls 1

runMethod · 0.65

Tested by

no test coverage detected