Primeiro commit do projeto Angular

This commit is contained in:
2026-03-14 20:41:55 +00:00
parent 9bebe1de72
commit 94f4f46395
22413 changed files with 3221690 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
module.exports = function (query, force) {
var isAttached = false
if (process.stderr.isTTY || force === true) {
isAttached = true
process.on('SIGINFO', onsiginfo)
process.on('SIGUSR1', onsiginfo)
}
return function () {
if (isAttached === true) {
process.removeListener('SIGINFO', onsiginfo)
process.removeListener('SIGUSR1', onsiginfo)
isAttached = false
}
}
function onsiginfo () {
query()
}
}