aboutsummaryrefslogtreecommitdiff
path: root/node_modules/human-signals/build/src/realtime.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/human-signals/build/src/realtime.js')
-rw-r--r--node_modules/human-signals/build/src/realtime.js19
1 files changed, 19 insertions, 0 deletions
diff --git a/node_modules/human-signals/build/src/realtime.js b/node_modules/human-signals/build/src/realtime.js
new file mode 100644
index 0000000..f665516
--- /dev/null
+++ b/node_modules/human-signals/build/src/realtime.js
@@ -0,0 +1,19 @@
+"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.SIGRTMAX=exports.getRealtimeSignals=void 0;
+const getRealtimeSignals=function(){
+const length=SIGRTMAX-SIGRTMIN+1;
+return Array.from({length},getRealtimeSignal);
+};exports.getRealtimeSignals=getRealtimeSignals;
+
+const getRealtimeSignal=function(value,index){
+return{
+name:`SIGRT${index+1}`,
+number:SIGRTMIN+index,
+action:"terminate",
+description:"Application-specific signal (realtime)",
+standard:"posix"};
+
+};
+
+const SIGRTMIN=34;
+const SIGRTMAX=64;exports.SIGRTMAX=SIGRTMAX;
+//# sourceMappingURL=realtime.js.map \ No newline at end of file