MCPcopy Create free account
hub / github.com/PrairieLearn/PrairieLearn / sleep

Function sleep

tools/load-test.js:137–139  ·  view source on GitHub ↗
(sec)

Source from the content-addressed store, hash-verified

135}
136
137async function sleep(sec) {
138 return new Promise(resolve => setTimeout(resolve, sec * 1000));
139}
140
141async function getCourseInstanceUrl() {
142 const body = await request({uri: baseUrl, jar: cookies});

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected