slavery-js
Version:
A simple clustering app that allows you to scale an application on multiple thread, containers or machines
1 lines • 899 B
Source Map (JSON)
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["/* this class the slavery entry point */\nimport entry, { PeerDiscoverer } from './app/index.js'\nimport Node from './nodes/index.js'\nimport Service from './service/index.js'\nimport { log } from './utils/index.js'\n\n// Global handler for unhandled promise rejections\nprocess.on('unhandledRejection', (reason, promise) => {\n log('[CRITICAL] Unhandled Promise Rejection:', reason);\n // You could also add error reporting, crash recovery, or other handling here\n});\n\nexport default entry\n\nexport { Service, Node, PeerDiscoverer }\n\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA,2BAAAA;AAAA,EAAA;AAAA,gCAAAC;AAAA,EAAA;AAAA;AAAA;AACA,iBAAuC;AACvC,mBAAiB;AACjB,qBAAqB;AACrB,mBAAoB;AAGpB,QAAQ,GAAG,sBAAsB,CAAC,QAAQ,YAAY;AACpD,wBAAI,2CAA2C,MAAM;AAEvD,CAAC;AAED,IAAO,gBAAQ,WAAAC;","names":["Node","Service","entry"]}