MCPcopy
hub / github.com/mafintosh/why-is-node-running / startServer

Function startServer

example.js:4–8  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2import { createServer } from 'node:net'
3
4function startServer () {
5 const server = createServer()
6 setInterval(() => {}, 1000)
7 server.listen(0)
8}
9
10startServer()
11startServer()

Callers 1

example.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…