1 line
82 KiB
Plaintext
1 line
82 KiB
Plaintext
|
{"version":3,"sources":["webpack://workerpool/webpack/universalModuleDefinition","webpack://workerpool/./src/Pool.js","webpack://workerpool/./src/Promise.js","webpack://workerpool/./src/WorkerHandler.js","webpack://workerpool/./src/debug-port-allocator.js","webpack://workerpool/./src/environment.js","webpack://workerpool/./src/generated/embeddedWorker.js","webpack://workerpool/./src/index.js","webpack://workerpool/./src/requireFoolWebpack.js","webpack://workerpool/./src/worker.js","webpack://workerpool/webpack/bootstrap","webpack://workerpool/webpack/startup"],"names":["Promise","require","WorkerHandler","environment","DebugPortAllocator","DEBUG_PORT_ALLOCATOR","Pool","script","options","workers","tasks","forkArgs","forkOpts","debugPortStart","nodeWorker","workerType","maxQueueSize","Infinity","validateMaxWorkers","maxWorkers","Math","max","cpus","minWorkers","validateMinWorkers","_ensureMinWorkers","_boundNext","_next","bind","ensureWorkerThreads","prototype","exec","method","params","Array","isArray","TypeError","resolver","defer","length","Error","task","timeout","push","originalTimeout","promise","delay","indexOf","call","String","proxy","arguments","pool","then","methods","forEach","slice","worker","_getWorker","me","shift","pending","terminated","_removeWorker","i","busy","_createWorkerHandler","releasePort","debugPort","_removeWorkerFromList","resolve","reject","terminate","err","index","splice","force","f","removeWorker","promises","termPromise","terminateAndNotify","all","stats","totalWorkers","busyWorkers","filter","idleWorkers","pendingTasks","activeTasks","nextAvailableStartingAt","isNumber","isInteger","value","round","module","exports","handler","parent","SyntaxError","_onSuccess","_onFail","resolved","rejected","_process","onSuccess","onFail","s","_then","_resolve","result","fn","_reject","error","cancel","CancellationError","timer","setTimeout","TimeoutError","always","clearTimeout","callback","res","remaining","results","p","message","stack","constructor","name","requireFoolWebpack","TERMINATE_METHOD_ID","CHILD_PROCESS_EXIT_TIMEOUT","WorkerThreads","tryRequireWorkerThreads","ensureWebWorker","Worker","code","getDefaultWorker","platform","Blob","window","URL","createObjectURL","blob","type","__dirname","setupWorker","setupBrowserWorker","setupWorkerThreadWorker","setupProcessWorker","resolveForkOptions","isBrowserWorker","on","event","addEventListener","data","send","postMessage","stdout","stderr","isWorkerThread","kill","disconnect","child_process","fork","isChildProcess","opts","processExecArgv","process","execArgv","join","inspectorActive","debugBrk","arg","Object","assign","concat","objectToError","obj","temp","props","keys","_options","ready","requestQueue","response","dispatchQueuedRequests","id","processing","undefined","isEvent","payload","terminating","onError","create","request","exitCode","signalCode","spawnargs","spawnfile","terminationHandler","lastId","cleanup","killed","cleanExitTimeout","once","MAX_PORTS","ports","starting","port","isNode","nodeProcess","versions","node","worker_threads","tryRequireFoolWebpack","isMainThread","connected","Window","self","navigator","hardwareConcurrency","add","workerEmit","emit","eval","exit","parentPort","convertError","getOwnPropertyNames","reduce","product","defineProperty","enumerable","isPromise","run","args","Function","apply","currentRequestId","register","hasOwnProperty"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;;;;;;ACVA,IAAIA,OAAO,GAAGC,mBAAO,CAAC,GAAD,CAArB;;AACA,IAAIC,aAAa,GAAGD,mBAAO,CAAC,GAAD,CAA3B;;AACA,IAAIE,WAAW,GAAGF,mBAAO,CAAC,GAAD,CAAzB;;AACA,IAAIG,kBAAkB,GAAGH,mBAAO,CAAC,GAAD,CAAhC;;AACA,IAAII,oBAAoB,GAAG,IAAID,kBAAJ,EAA3B;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,SAASE,IAAT,CAAcC,MAAd,EAAsBC,OAAtB,EAA+B;AAC7B,MAAI,OAAOD,MAAP,KAAkB,QAAtB,EAAgC;AAC9B,SAAKA,MAAL,GAAcA,MAAM,IAAI,IAAxB;AACD,GAFD,MAGK;AACH,SAAKA,MAAL,GAAc,IAAd;AACAC,WAAO,GAAGD,MAAV;AACD;;AAED,OAAKE,OAAL,GAAe,EAAf,CAT6B,CAST;;AACpB,OAAKC,KAAL,GAAa,EAAb,CAV6B,CAUT;;AAEpBF,SAAO,GAAGA,OAAO,IAAI,EAArB;AAEA,OAAKG,QAAL,GAAgBH,OA
|