wrangler-action/node_modules/why-is-node-running/example.js

16 lines
241 B
JavaScript
Raw Normal View History

2023-08-07 22:11:15 +02:00
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)