wrangler-action/node_modules/why-is-node-running/example.js
2023-08-07 15:11:15 -05:00

15 lines
241 B
JavaScript

var log = require('./')
var net = require('net')
function createServer () {
var server = net.createServer()
setInterval(function () {}, 1000)
server.listen(0)
}
createServer()
createServer()
setTimeout(function () {
log()
}, 100)