MCPcopy
hub / github.com/tinyhttp/tinyhttp / func

Function func

examples/eta/index.ts:9–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7app.engine('eta', eta)
8
9function func() {
10 return new Promise((resolve) => {
11 setTimeout(() => {
12 resolve('HI FROM ASYNC')
13 }, 20)
14 })
15}
16
17app.use(
18 (_, res) =>

Callers 1

runServerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected