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

Function progress

packages/hydrooj/src/service/server.ts:182–184  ·  view source on GitHub ↗
(message: string, params: any[] = [])

Source from the content-addressed store, hash-verified

180 if (!this.user.hasPriv(...args)) throw new PrivilegeError(...args);
181 },
182 progress(message: string, params: any[] = []) {
183 Hydro.model.message.sendInfo(this.user._id, JSON.stringify({ message, params }));
184 },
185 async limitRate(
186 op: string, periodSecs: number, maxOperations: number, defaultKey = system.get('limit.by_user') ? '{{ip}}@{{user}}' : '{{ip}}',
187 ) {

Callers

nothing calls this directly

Calls 1

sendInfoMethod · 0.80

Tested by

no test coverage detected