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

Function getListStatus

packages/hydrooj/src/model/contest.ts:925–930  ·  view source on GitHub ↗
(domainId: string, uid: number, tids: ObjectId[])

Source from the content-addressed store, hash-verified

923}
924
925export async function getListStatus(domainId: string, uid: number, tids: ObjectId[]) {
926 const r = {};
927 // eslint-disable-next-line no-await-in-loop
928 for (const tid of tids) r[tid.toHexString()] = await getStatus(domainId, tid, uid);
929 return r;
930}
931
932export async function attend(domainId: string, tid: ObjectId, uid: number, payload: any = {}) {
933 try {

Callers

nothing calls this directly

Calls 1

getStatusFunction · 0.70

Tested by

no test coverage detected