From ec06e4dd01adf7aa4bab470c59da42c19d863d0b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 11 Apr 2023 19:42:35 +0000 Subject: [PATCH] chore: generate documentation --- docs/assets/main.js | 6 +- docs/assets/search.js | 2 +- docs/assets/style.css | 448 ++++++++---------- docs/classes/ClusterWorker.html | 204 ++++---- docs/classes/DynamicClusterPool.html | 222 +++++---- docs/classes/DynamicThreadPool.html | 222 +++++---- docs/classes/FixedClusterPool.html | 218 +++++---- docs/classes/FixedThreadPool.html | 218 +++++---- docs/classes/PoolEmitter.html | 102 ++-- docs/classes/ThreadWorker.html | 204 ++++---- docs/index.html | 73 ++- docs/interfaces/ClusterPoolOptions.html | 104 ++-- docs/interfaces/IPool.html | 76 +-- docs/interfaces/PoolOptions.html | 105 ++-- .../WorkerChoiceStrategyOptions.html | 56 ++- docs/interfaces/WorkerOptions.html | 64 ++- docs/types/ErrorHandler.html | 83 ++-- docs/types/ExitHandler.html | 83 ++-- docs/types/KillBehavior.html | 75 ++- docs/types/MessageHandler.html | 83 ++-- docs/types/OnlineHandler.html | 83 ++-- docs/types/PoolEvent.html | 75 ++- .../types/ThreadWorkerWithMessageChannel.html | 75 ++- docs/types/WorkerChoiceStrategy.html | 75 ++- docs/variables/KillBehaviors.html | 75 ++- docs/variables/PoolEvents.html | 75 ++- docs/variables/WorkerChoiceStrategies.html | 75 ++- 27 files changed, 1656 insertions(+), 1525 deletions(-) diff --git a/docs/assets/main.js b/docs/assets/main.js index f7c83669..d9b2d0a6 100644 --- a/docs/assets/main.js +++ b/docs/assets/main.js @@ -1,7 +1,7 @@ "use strict"; -"use strict";(()=>{var Qe=Object.create;var ae=Object.defineProperty;var Pe=Object.getOwnPropertyDescriptor;var Ce=Object.getOwnPropertyNames;var Oe=Object.getPrototypeOf,Re=Object.prototype.hasOwnProperty;var _e=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var Me=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ce(e))!Re.call(t,i)&&i!==n&&ae(t,i,{get:()=>e[i],enumerable:!(r=Pe(e,i))||r.enumerable});return t};var De=(t,e,n)=>(n=t!=null?Qe(Oe(t)):{},Me(e||!t||!t.__esModule?ae(n,"default",{value:t,enumerable:!0}):n,t));var de=_e((ce,he)=>{(function(){var t=function(e){var n=new t.Builder;return n.pipeline.add(t.trimmer,t.stopWordFilter,t.stemmer),n.searchPipeline.add(t.stemmer),e.call(n,n),n.build()};t.version="2.3.9";t.utils={},t.utils.warn=function(e){return function(n){e.console&&console.warn&&console.warn(n)}}(this),t.utils.asString=function(e){return e==null?"":e.toString()},t.utils.clone=function(e){if(e==null)return e;for(var n=Object.create(null),r=Object.keys(e),i=0;i0){var h=t.utils.clone(n)||{};h.position=[a,l],h.index=s.length,s.push(new t.Token(r.slice(a,o),h))}a=o+1}}return s},t.tokenizer.separator=/[\s\-]+/;t.Pipeline=function(){this._stack=[]},t.Pipeline.registeredFunctions=Object.create(null),t.Pipeline.registerFunction=function(e,n){n in this.registeredFunctions&&t.utils.warn("Overwriting existing registered function: "+n),e.label=n,t.Pipeline.registeredFunctions[e.label]=e},t.Pipeline.warnIfFunctionNotRegistered=function(e){var n=e.label&&e.label in this.registeredFunctions;n||t.utils.warn(`Function is not registered with pipeline. This may cause problems when serialising the index. -`,e)},t.Pipeline.load=function(e){var n=new t.Pipeline;return e.forEach(function(r){var i=t.Pipeline.registeredFunctions[r];if(i)n.add(i);else throw new Error("Cannot load unregistered function: "+r)}),n},t.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach(function(n){t.Pipeline.warnIfFunctionNotRegistered(n),this._stack.push(n)},this)},t.Pipeline.prototype.after=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var r=this._stack.indexOf(e);if(r==-1)throw new Error("Cannot find existingFn");r=r+1,this._stack.splice(r,0,n)},t.Pipeline.prototype.before=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var r=this._stack.indexOf(e);if(r==-1)throw new Error("Cannot find existingFn");this._stack.splice(r,0,n)},t.Pipeline.prototype.remove=function(e){var n=this._stack.indexOf(e);n!=-1&&this._stack.splice(n,1)},t.Pipeline.prototype.run=function(e){for(var n=this._stack.length,r=0;r1&&(oe&&(r=s),o!=e);)i=r-n,s=n+Math.floor(i/2),o=this.elements[s*2];if(o==e||o>e)return s*2;if(ou?h+=2:a==u&&(n+=r[l+1]*i[h+1],l+=2,h+=2);return n},t.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},t.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),n=1,r=0;n0){var o=s.str.charAt(0),a;o in s.node.edges?a=s.node.edges[o]:(a=new t.TokenSet,s.node.edges[o]=a),s.str.length==1&&(a.final=!0),i.push({node:a,editsRemaining:s.editsRemaining,str:s.str.slice(1)})}if(s.editsRemaining!=0){if("*"in s.node.edges)var u=s.node.edges["*"];else{var u=new t.TokenSet;s.node.edges["*"]=u}if(s.str.length==0&&(u.final=!0),i.push({node:u,editsRemaining:s.editsRemaining-1,str:s.str}),s.str.length>1&&i.push({node:s.node,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)}),s.str.length==1&&(s.node.final=!0),s.str.length>=1){if("*"in s.node.edges)var l=s.node.edges["*"];else{var l=new t.TokenSet;s.node.edges["*"]=l}s.str.length==1&&(l.final=!0),i.push({node:l,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)})}if(s.str.length>1){var h=s.str.charAt(0),m=s.str.charAt(1),v;m in s.node.edges?v=s.node.edges[m]:(v=new t.TokenSet,s.node.edges[m]=v),s.str.length==1&&(v.final=!0),i.push({node:v,editsRemaining:s.editsRemaining-1,str:h+s.str.slice(2)})}}}return r},t.TokenSet.fromString=function(e){for(var n=new t.TokenSet,r=n,i=0,s=e.length;i=e;n--){var r=this.uncheckedNodes[n],i=r.child.toString();i in this.minimizedNodes?r.parent.edges[r.char]=this.minimizedNodes[i]:(r.child._str=i,this.minimizedNodes[i]=r.child),this.uncheckedNodes.pop()}};t.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},t.Index.prototype.search=function(e){return this.query(function(n){var r=new t.QueryParser(e,n);r.parse()})},t.Index.prototype.query=function(e){for(var n=new t.Query(this.fields),r=Object.create(null),i=Object.create(null),s=Object.create(null),o=Object.create(null),a=Object.create(null),u=0;u1?this._b=1:this._b=e},t.Builder.prototype.k1=function(e){this._k1=e},t.Builder.prototype.add=function(e,n){var r=e[this._ref],i=Object.keys(this._fields);this._documents[r]=n||{},this.documentCount+=1;for(var s=0;s=this.length)return t.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},t.QueryLexer.prototype.width=function(){return this.pos-this.start},t.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},t.QueryLexer.prototype.backup=function(){this.pos-=1},t.QueryLexer.prototype.acceptDigitRun=function(){var e,n;do e=this.next(),n=e.charCodeAt(0);while(n>47&&n<58);e!=t.QueryLexer.EOS&&this.backup()},t.QueryLexer.prototype.more=function(){return this.pos1&&(e.backup(),e.emit(t.QueryLexer.TERM)),e.ignore(),e.more())return t.QueryLexer.lexText},t.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.EDIT_DISTANCE),t.QueryLexer.lexText},t.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.BOOST),t.QueryLexer.lexText},t.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(t.QueryLexer.TERM)},t.QueryLexer.termSeparator=t.tokenizer.separator,t.QueryLexer.lexText=function(e){for(;;){var n=e.next();if(n==t.QueryLexer.EOS)return t.QueryLexer.lexEOS;if(n.charCodeAt(0)==92){e.escapeCharacter();continue}if(n==":")return t.QueryLexer.lexField;if(n=="~")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexEditDistance;if(n=="^")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexBoost;if(n=="+"&&e.width()===1||n=="-"&&e.width()===1)return e.emit(t.QueryLexer.PRESENCE),t.QueryLexer.lexText;if(n.match(t.QueryLexer.termSeparator))return t.QueryLexer.lexTerm}},t.QueryParser=function(e,n){this.lexer=new t.QueryLexer(e),this.query=n,this.currentClause={},this.lexemeIdx=0},t.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=t.QueryParser.parseClause;e;)e=e(this);return this.query},t.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},t.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},t.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},t.QueryParser.parseClause=function(e){var n=e.peekLexeme();if(n!=null)switch(n.type){case t.QueryLexer.PRESENCE:return t.QueryParser.parsePresence;case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var r="expected either a field or a term, found "+n.type;throw n.str.length>=1&&(r+=" with value '"+n.str+"'"),new t.QueryParseError(r,n.start,n.end)}},t.QueryParser.parsePresence=function(e){var n=e.consumeLexeme();if(n!=null){switch(n.str){case"-":e.currentClause.presence=t.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=t.Query.presence.REQUIRED;break;default:var r="unrecognised presence operator'"+n.str+"'";throw new t.QueryParseError(r,n.start,n.end)}var i=e.peekLexeme();if(i==null){var r="expecting term or field, found nothing";throw new t.QueryParseError(r,n.start,n.end)}switch(i.type){case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var r="expecting term or field, found '"+i.type+"'";throw new t.QueryParseError(r,i.start,i.end)}}},t.QueryParser.parseField=function(e){var n=e.consumeLexeme();if(n!=null){if(e.query.allFields.indexOf(n.str)==-1){var r=e.query.allFields.map(function(o){return"'"+o+"'"}).join(", "),i="unrecognised field '"+n.str+"', possible fields: "+r;throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.fields=[n.str];var s=e.peekLexeme();if(s==null){var i="expecting term, found nothing";throw new t.QueryParseError(i,n.start,n.end)}switch(s.type){case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var i="expecting term, found '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseTerm=function(e){var n=e.consumeLexeme();if(n!=null){e.currentClause.term=n.str.toLowerCase(),n.str.indexOf("*")!=-1&&(e.currentClause.usePipeline=!1);var r=e.peekLexeme();if(r==null){e.nextClause();return}switch(r.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+r.type+"'";throw new t.QueryParseError(i,r.start,r.end)}}},t.QueryParser.parseEditDistance=function(e){var n=e.consumeLexeme();if(n!=null){var r=parseInt(n.str,10);if(isNaN(r)){var i="edit distance must be numeric";throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.editDistance=r;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseBoost=function(e){var n=e.consumeLexeme();if(n!=null){var r=parseInt(n.str,10);if(isNaN(r)){var i="boost must be numeric";throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.boost=r;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},function(e,n){typeof define=="function"&&define.amd?define(n):typeof ce=="object"?he.exports=n():e.lunr=n()}(this,function(){return t})})()});var le=[];function B(t,e){le.push({selector:e,constructor:t})}var Y=class{constructor(){this.alwaysVisibleMember=null;this.createComponents(document.body),this.ensureFocusedElementVisible(),window.addEventListener("hashchange",()=>this.ensureFocusedElementVisible())}createComponents(e){le.forEach(n=>{e.querySelectorAll(n.selector).forEach(r=>{r.dataset.hasInstance||(new n.constructor({el:r,app:this}),r.dataset.hasInstance=String(!0))})})}filterChanged(){this.ensureFocusedElementVisible()}ensureFocusedElementVisible(){this.alwaysVisibleMember&&(this.alwaysVisibleMember.classList.remove("always-visible"),this.alwaysVisibleMember.firstElementChild.remove(),this.alwaysVisibleMember=null);let e=document.getElementById(location.hash.substring(1));if(!e)return;let n=e.parentElement;for(;n&&n.tagName!=="SECTION";)n=n.parentElement;if(n&&n.offsetParent==null){this.alwaysVisibleMember=n,n.classList.add("always-visible");let r=document.createElement("p");r.classList.add("warning"),r.textContent="This member is normally hidden due to your filter settings.",n.prepend(r)}}};var I=class{constructor(e){this.el=e.el,this.app=e.app}};var J=class{constructor(){this.listeners={}}addEventListener(e,n){e in this.listeners||(this.listeners[e]=[]),this.listeners[e].push(n)}removeEventListener(e,n){if(!(e in this.listeners))return;let r=this.listeners[e];for(let i=0,s=r.length;i{let n=Date.now();return(...r)=>{n+e-Date.now()<0&&(t(...r),n=Date.now())}};var re=class extends J{constructor(){super();this.scrollTop=0;this.lastY=0;this.width=0;this.height=0;this.showToolbar=!0;this.toolbar=document.querySelector(".tsd-page-toolbar"),this.navigation=document.querySelector(".col-menu"),window.addEventListener("scroll",ne(()=>this.onScroll(),10)),window.addEventListener("resize",ne(()=>this.onResize(),10)),this.searchInput=document.querySelector("#tsd-search input"),this.searchInput&&this.searchInput.addEventListener("focus",()=>{this.hideShowToolbar()}),this.onResize(),this.onScroll()}triggerResize(){let n=new CustomEvent("resize",{detail:{width:this.width,height:this.height}});this.dispatchEvent(n)}onResize(){this.width=window.innerWidth||0,this.height=window.innerHeight||0;let n=new CustomEvent("resize",{detail:{width:this.width,height:this.height}});this.dispatchEvent(n)}onScroll(){this.scrollTop=window.scrollY||0;let n=new CustomEvent("scroll",{detail:{scrollTop:this.scrollTop}});this.dispatchEvent(n),this.hideShowToolbar()}hideShowToolbar(){let n=this.showToolbar;this.showToolbar=this.lastY>=this.scrollTop||this.scrollTop<=0||!!this.searchInput&&this.searchInput===document.activeElement,n!==this.showToolbar&&(this.toolbar.classList.toggle("tsd-page-toolbar--hide"),this.navigation?.classList.toggle("col-menu--hide")),this.lastY=this.scrollTop}},R=re;R.instance=new re;var X=class extends I{constructor(n){super(n);this.anchors=[];this.index=-1;R.instance.addEventListener("resize",()=>this.onResize()),R.instance.addEventListener("scroll",r=>this.onScroll(r)),this.createAnchors()}createAnchors(){let n=window.location.href;n.indexOf("#")!=-1&&(n=n.substring(0,n.indexOf("#"))),this.el.querySelectorAll("a").forEach(r=>{let i=r.href;if(i.indexOf("#")==-1||i.substring(0,n.length)!=n)return;let s=i.substring(i.indexOf("#")+1),o=document.querySelector("a.tsd-anchor[name="+s+"]"),a=r.parentNode;!o||!a||this.anchors.push({link:a,anchor:o,position:0})}),this.onResize()}onResize(){let n;for(let i=0,s=this.anchors.length;ii.position-s.position);let r=new CustomEvent("scroll",{detail:{scrollTop:R.instance.scrollTop}});this.onScroll(r)}onScroll(n){let r=n.detail.scrollTop+5,i=this.anchors,s=i.length-1,o=this.index;for(;o>-1&&i[o].position>r;)o-=1;for(;o-1&&this.anchors[this.index].link.classList.remove("focus"),this.index=o,this.index>-1&&this.anchors[this.index].link.classList.add("focus"))}};var ue=(t,e=100)=>{let n;return()=>{clearTimeout(n),n=setTimeout(()=>t(),e)}};var me=De(de());function ve(){let t=document.getElementById("tsd-search");if(!t)return;let e=document.getElementById("search-script");t.classList.add("loading"),e&&(e.addEventListener("error",()=>{t.classList.remove("loading"),t.classList.add("failure")}),e.addEventListener("load",()=>{t.classList.remove("loading"),t.classList.add("ready")}),window.searchData&&t.classList.remove("loading"));let n=document.querySelector("#tsd-search input"),r=document.querySelector("#tsd-search .results");if(!n||!r)throw new Error("The input field or the result list wrapper was not found");let i=!1;r.addEventListener("mousedown",()=>i=!0),r.addEventListener("mouseup",()=>{i=!1,t.classList.remove("has-focus")}),n.addEventListener("focus",()=>t.classList.add("has-focus")),n.addEventListener("blur",()=>{i||(i=!1,t.classList.remove("has-focus"))});let s={base:t.dataset.base+"/"};Fe(t,r,n,s)}function Fe(t,e,n,r){n.addEventListener("input",ue(()=>{He(t,e,n,r)},200));let i=!1;n.addEventListener("keydown",s=>{i=!0,s.key=="Enter"?Ve(e,n):s.key=="Escape"?n.blur():s.key=="ArrowUp"?pe(e,-1):s.key==="ArrowDown"?pe(e,1):i=!1}),n.addEventListener("keypress",s=>{i&&s.preventDefault()}),document.body.addEventListener("keydown",s=>{s.altKey||s.ctrlKey||s.metaKey||!n.matches(":focus")&&s.key==="/"&&(n.focus(),s.preventDefault())})}function Ae(t,e){t.index||window.searchData&&(e.classList.remove("loading"),e.classList.add("ready"),t.data=window.searchData,t.index=me.Index.load(window.searchData.index))}function He(t,e,n,r){if(Ae(r,t),!r.index||!r.data)return;e.textContent="";let i=n.value.trim(),s=i?r.index.search(`*${i}*`):[];for(let o=0;oa.score-o.score);for(let o=0,a=Math.min(10,s.length);o${fe(u.parent,i)}.${l}`);let h=document.createElement("li");h.classList.value=u.classes??"";let m=document.createElement("a");m.href=r.base+u.url,m.innerHTML=l,h.append(m),e.appendChild(h)}}function pe(t,e){let n=t.querySelector(".current");if(!n)n=t.querySelector(e==1?"li:first-child":"li:last-child"),n&&n.classList.add("current");else{let r=n;if(e===1)do r=r.nextElementSibling??void 0;while(r instanceof HTMLElement&&r.offsetParent==null);else do r=r.previousElementSibling??void 0;while(r instanceof HTMLElement&&r.offsetParent==null);r&&(n.classList.remove("current"),r.classList.add("current"))}}function Ve(t,e){let n=t.querySelector(".current");if(n||(n=t.querySelector("li:first-child")),n){let r=n.querySelector("a");r&&(window.location.href=r.href),e.blur()}}function fe(t,e){if(e==="")return t;let n=t.toLocaleLowerCase(),r=e.toLocaleLowerCase(),i=[],s=0,o=n.indexOf(r);for(;o!=-1;)i.push(ie(t.substring(s,o)),`${ie(t.substring(o,o+r.length))}`),s=o+r.length,o=n.indexOf(r,s);return i.push(ie(t.substring(s))),i.join("")}var Ne={"&":"&","<":"<",">":">","'":"'",'"':"""};function ie(t){return t.replace(/[&<>"'"]/g,e=>Ne[e])}var F="mousedown",ye="mousemove",j="mouseup",Z={x:0,y:0},ge=!1,se=!1,Be=!1,A=!1,xe=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);document.documentElement.classList.add(xe?"is-mobile":"not-mobile");xe&&"ontouchstart"in document.documentElement&&(Be=!0,F="touchstart",ye="touchmove",j="touchend");document.addEventListener(F,t=>{se=!0,A=!1;let e=F=="touchstart"?t.targetTouches[0]:t;Z.y=e.pageY||0,Z.x=e.pageX||0});document.addEventListener(ye,t=>{if(se&&!A){let e=F=="touchstart"?t.targetTouches[0]:t,n=Z.x-(e.pageX||0),r=Z.y-(e.pageY||0);A=Math.sqrt(n*n+r*r)>10}});document.addEventListener(j,()=>{se=!1});document.addEventListener("click",t=>{ge&&(t.preventDefault(),t.stopImmediatePropagation(),ge=!1)});var K=class extends I{constructor(n){super(n);this.className=this.el.dataset.toggle||"",this.el.addEventListener(j,r=>this.onPointerUp(r)),this.el.addEventListener("click",r=>r.preventDefault()),document.addEventListener(F,r=>this.onDocumentPointerDown(r)),document.addEventListener(j,r=>this.onDocumentPointerUp(r))}setActive(n){if(this.active==n)return;this.active=n,document.documentElement.classList.toggle("has-"+this.className,n),this.el.classList.toggle("active",n);let r=(this.active?"to-has-":"from-has-")+this.className;document.documentElement.classList.add(r),setTimeout(()=>document.documentElement.classList.remove(r),500)}onPointerUp(n){A||(this.setActive(!0),n.preventDefault())}onDocumentPointerDown(n){if(this.active){if(n.target.closest(".col-menu, .tsd-filter-group"))return;this.setActive(!1)}}onDocumentPointerUp(n){if(!A&&this.active&&n.target.closest(".col-menu")){let r=n.target.closest("a");if(r){let i=window.location.href;i.indexOf("#")!=-1&&(i=i.substring(0,i.indexOf("#"))),r.href.substring(0,i.length)==i&&setTimeout(()=>this.setActive(!1),250)}}}};var oe;try{oe=localStorage}catch{oe={getItem(){return null},setItem(){}}}var Q=oe;var Le=document.head.appendChild(document.createElement("style"));Le.dataset.for="filters";var ee=class extends I{constructor(n){super(n);this.key=`filter-${this.el.name}`,this.value=this.el.checked,this.el.addEventListener("change",()=>{this.setLocalStorage(this.el.checked)}),this.setLocalStorage(this.fromLocalStorage()),Le.innerHTML+=`html:not(.${this.key}) .tsd-is-${this.el.name} { display: none; } -`}fromLocalStorage(){let n=Q.getItem(this.key);return n?n==="true":this.el.checked}setLocalStorage(n){Q.setItem(this.key,n.toString()),this.value=n,this.handleValueChange()}handleValueChange(){this.el.checked=this.value,document.documentElement.classList.toggle(this.key,this.value),this.app.filterChanged(),document.querySelectorAll(".tsd-index-section").forEach(n=>{n.style.display="block";let r=Array.from(n.querySelectorAll(".tsd-index-link")).every(i=>i.offsetParent==null);n.style.display=r?"none":"block"})}};var te=class extends I{constructor(n){super(n);this.calculateHeights(),this.summary=this.el.querySelector(".tsd-accordion-summary"),this.icon=this.summary.querySelector("svg"),this.key=`tsd-accordion-${this.summary.textContent.replace(/\s+/g,"-").toLowerCase()}`,this.setLocalStorage(this.fromLocalStorage(),!0),this.summary.addEventListener("click",r=>this.toggleVisibility(r)),this.icon.style.transform=this.getIconRotation()}getIconRotation(n=this.el.open){return`rotate(${n?0:-90}deg)`}calculateHeights(){let n=this.el.open,{position:r,left:i}=this.el.style;this.el.style.position="fixed",this.el.style.left="-9999px",this.el.open=!0,this.expandedHeight=this.el.offsetHeight+"px",this.el.open=!1,this.collapsedHeight=this.el.offsetHeight+"px",this.el.open=n,this.el.style.height=n?this.expandedHeight:this.collapsedHeight,this.el.style.position=r,this.el.style.left=i}toggleVisibility(n){n.preventDefault(),this.el.style.overflow="hidden",this.el.open?this.collapse():this.expand()}expand(n=!0){this.el.open=!0,this.animate(this.collapsedHeight,this.expandedHeight,{opening:!0,duration:n?300:0})}collapse(n=!0){this.animate(this.expandedHeight,this.collapsedHeight,{opening:!1,duration:n?300:0})}animate(n,r,{opening:i,duration:s=300}){if(this.animation)return;let o={duration:s,easing:"ease"};this.animation=this.el.animate({height:[n,r]},o),this.icon.animate({transform:[this.icon.style.transform||this.getIconRotation(!i),this.getIconRotation(i)]},o).addEventListener("finish",()=>{this.icon.style.transform=this.getIconRotation(i)}),this.animation.addEventListener("finish",()=>this.animationEnd(i))}animationEnd(n){this.el.open=n,this.animation=void 0,this.el.style.height="auto",this.el.style.overflow="visible",this.setLocalStorage(n)}fromLocalStorage(){let n=Q.getItem(this.key);return n?n==="true":this.el.open}setLocalStorage(n,r=!1){this.fromLocalStorage()===n&&!r||(Q.setItem(this.key,n.toString()),this.el.open=n,this.handleValueChange(r))}handleValueChange(n=!1){this.fromLocalStorage()===this.el.open&&!n||(this.fromLocalStorage()?this.expand(!1):this.collapse(!1))}};function be(t){let e=Q.getItem("tsd-theme")||"os";t.value=e,Ee(e),t.addEventListener("change",()=>{Q.setItem("tsd-theme",t.value),Ee(t.value)})}function Ee(t){document.documentElement.dataset.theme=t}ve();B(X,".menu-highlight");B(K,"a[data-toggle]");B(te,".tsd-index-accordion");B(ee,".tsd-filter-item input[type=checkbox]");var we=document.getElementById("theme");we&&be(we);var je=new Y;Object.defineProperty(window,"app",{value:je});})(); +"use strict";(()=>{var Se=Object.create;var re=Object.defineProperty;var we=Object.getOwnPropertyDescriptor;var Te=Object.getOwnPropertyNames;var ke=Object.getPrototypeOf,Qe=Object.prototype.hasOwnProperty;var Pe=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var Ie=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Te(e))!Qe.call(t,i)&&i!==r&&re(t,i,{get:()=>e[i],enumerable:!(n=we(e,i))||n.enumerable});return t};var Ce=(t,e,r)=>(r=t!=null?Se(ke(t)):{},Ie(e||!t||!t.__esModule?re(r,"default",{value:t,enumerable:!0}):r,t));var ae=Pe((se,oe)=>{(function(){var t=function(e){var r=new t.Builder;return r.pipeline.add(t.trimmer,t.stopWordFilter,t.stemmer),r.searchPipeline.add(t.stemmer),e.call(r,r),r.build()};t.version="2.3.9";t.utils={},t.utils.warn=function(e){return function(r){e.console&&console.warn&&console.warn(r)}}(this),t.utils.asString=function(e){return e==null?"":e.toString()},t.utils.clone=function(e){if(e==null)return e;for(var r=Object.create(null),n=Object.keys(e),i=0;i0){var d=t.utils.clone(r)||{};d.position=[a,u],d.index=s.length,s.push(new t.Token(n.slice(a,o),d))}a=o+1}}return s},t.tokenizer.separator=/[\s\-]+/;t.Pipeline=function(){this._stack=[]},t.Pipeline.registeredFunctions=Object.create(null),t.Pipeline.registerFunction=function(e,r){r in this.registeredFunctions&&t.utils.warn("Overwriting existing registered function: "+r),e.label=r,t.Pipeline.registeredFunctions[e.label]=e},t.Pipeline.warnIfFunctionNotRegistered=function(e){var r=e.label&&e.label in this.registeredFunctions;r||t.utils.warn(`Function is not registered with pipeline. This may cause problems when serialising the index. +`,e)},t.Pipeline.load=function(e){var r=new t.Pipeline;return e.forEach(function(n){var i=t.Pipeline.registeredFunctions[n];if(i)r.add(i);else throw new Error("Cannot load unregistered function: "+n)}),r},t.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach(function(r){t.Pipeline.warnIfFunctionNotRegistered(r),this._stack.push(r)},this)},t.Pipeline.prototype.after=function(e,r){t.Pipeline.warnIfFunctionNotRegistered(r);var n=this._stack.indexOf(e);if(n==-1)throw new Error("Cannot find existingFn");n=n+1,this._stack.splice(n,0,r)},t.Pipeline.prototype.before=function(e,r){t.Pipeline.warnIfFunctionNotRegistered(r);var n=this._stack.indexOf(e);if(n==-1)throw new Error("Cannot find existingFn");this._stack.splice(n,0,r)},t.Pipeline.prototype.remove=function(e){var r=this._stack.indexOf(e);r!=-1&&this._stack.splice(r,1)},t.Pipeline.prototype.run=function(e){for(var r=this._stack.length,n=0;n1&&(oe&&(n=s),o!=e);)i=n-r,s=r+Math.floor(i/2),o=this.elements[s*2];if(o==e||o>e)return s*2;if(ol?d+=2:a==l&&(r+=n[u+1]*i[d+1],u+=2,d+=2);return r},t.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},t.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),r=1,n=0;r0){var o=s.str.charAt(0),a;o in s.node.edges?a=s.node.edges[o]:(a=new t.TokenSet,s.node.edges[o]=a),s.str.length==1&&(a.final=!0),i.push({node:a,editsRemaining:s.editsRemaining,str:s.str.slice(1)})}if(s.editsRemaining!=0){if("*"in s.node.edges)var l=s.node.edges["*"];else{var l=new t.TokenSet;s.node.edges["*"]=l}if(s.str.length==0&&(l.final=!0),i.push({node:l,editsRemaining:s.editsRemaining-1,str:s.str}),s.str.length>1&&i.push({node:s.node,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)}),s.str.length==1&&(s.node.final=!0),s.str.length>=1){if("*"in s.node.edges)var u=s.node.edges["*"];else{var u=new t.TokenSet;s.node.edges["*"]=u}s.str.length==1&&(u.final=!0),i.push({node:u,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)})}if(s.str.length>1){var d=s.str.charAt(0),m=s.str.charAt(1),y;m in s.node.edges?y=s.node.edges[m]:(y=new t.TokenSet,s.node.edges[m]=y),s.str.length==1&&(y.final=!0),i.push({node:y,editsRemaining:s.editsRemaining-1,str:d+s.str.slice(2)})}}}return n},t.TokenSet.fromString=function(e){for(var r=new t.TokenSet,n=r,i=0,s=e.length;i=e;r--){var n=this.uncheckedNodes[r],i=n.child.toString();i in this.minimizedNodes?n.parent.edges[n.char]=this.minimizedNodes[i]:(n.child._str=i,this.minimizedNodes[i]=n.child),this.uncheckedNodes.pop()}};t.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},t.Index.prototype.search=function(e){return this.query(function(r){var n=new t.QueryParser(e,r);n.parse()})},t.Index.prototype.query=function(e){for(var r=new t.Query(this.fields),n=Object.create(null),i=Object.create(null),s=Object.create(null),o=Object.create(null),a=Object.create(null),l=0;l1?this._b=1:this._b=e},t.Builder.prototype.k1=function(e){this._k1=e},t.Builder.prototype.add=function(e,r){var n=e[this._ref],i=Object.keys(this._fields);this._documents[n]=r||{},this.documentCount+=1;for(var s=0;s=this.length)return t.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},t.QueryLexer.prototype.width=function(){return this.pos-this.start},t.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},t.QueryLexer.prototype.backup=function(){this.pos-=1},t.QueryLexer.prototype.acceptDigitRun=function(){var e,r;do e=this.next(),r=e.charCodeAt(0);while(r>47&&r<58);e!=t.QueryLexer.EOS&&this.backup()},t.QueryLexer.prototype.more=function(){return this.pos1&&(e.backup(),e.emit(t.QueryLexer.TERM)),e.ignore(),e.more())return t.QueryLexer.lexText},t.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.EDIT_DISTANCE),t.QueryLexer.lexText},t.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.BOOST),t.QueryLexer.lexText},t.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(t.QueryLexer.TERM)},t.QueryLexer.termSeparator=t.tokenizer.separator,t.QueryLexer.lexText=function(e){for(;;){var r=e.next();if(r==t.QueryLexer.EOS)return t.QueryLexer.lexEOS;if(r.charCodeAt(0)==92){e.escapeCharacter();continue}if(r==":")return t.QueryLexer.lexField;if(r=="~")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexEditDistance;if(r=="^")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexBoost;if(r=="+"&&e.width()===1||r=="-"&&e.width()===1)return e.emit(t.QueryLexer.PRESENCE),t.QueryLexer.lexText;if(r.match(t.QueryLexer.termSeparator))return t.QueryLexer.lexTerm}},t.QueryParser=function(e,r){this.lexer=new t.QueryLexer(e),this.query=r,this.currentClause={},this.lexemeIdx=0},t.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=t.QueryParser.parseClause;e;)e=e(this);return this.query},t.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},t.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},t.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},t.QueryParser.parseClause=function(e){var r=e.peekLexeme();if(r!=null)switch(r.type){case t.QueryLexer.PRESENCE:return t.QueryParser.parsePresence;case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var n="expected either a field or a term, found "+r.type;throw r.str.length>=1&&(n+=" with value '"+r.str+"'"),new t.QueryParseError(n,r.start,r.end)}},t.QueryParser.parsePresence=function(e){var r=e.consumeLexeme();if(r!=null){switch(r.str){case"-":e.currentClause.presence=t.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=t.Query.presence.REQUIRED;break;default:var n="unrecognised presence operator'"+r.str+"'";throw new t.QueryParseError(n,r.start,r.end)}var i=e.peekLexeme();if(i==null){var n="expecting term or field, found nothing";throw new t.QueryParseError(n,r.start,r.end)}switch(i.type){case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var n="expecting term or field, found '"+i.type+"'";throw new t.QueryParseError(n,i.start,i.end)}}},t.QueryParser.parseField=function(e){var r=e.consumeLexeme();if(r!=null){if(e.query.allFields.indexOf(r.str)==-1){var n=e.query.allFields.map(function(o){return"'"+o+"'"}).join(", "),i="unrecognised field '"+r.str+"', possible fields: "+n;throw new t.QueryParseError(i,r.start,r.end)}e.currentClause.fields=[r.str];var s=e.peekLexeme();if(s==null){var i="expecting term, found nothing";throw new t.QueryParseError(i,r.start,r.end)}switch(s.type){case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var i="expecting term, found '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseTerm=function(e){var r=e.consumeLexeme();if(r!=null){e.currentClause.term=r.str.toLowerCase(),r.str.indexOf("*")!=-1&&(e.currentClause.usePipeline=!1);var n=e.peekLexeme();if(n==null){e.nextClause();return}switch(n.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+n.type+"'";throw new t.QueryParseError(i,n.start,n.end)}}},t.QueryParser.parseEditDistance=function(e){var r=e.consumeLexeme();if(r!=null){var n=parseInt(r.str,10);if(isNaN(n)){var i="edit distance must be numeric";throw new t.QueryParseError(i,r.start,r.end)}e.currentClause.editDistance=n;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseBoost=function(e){var r=e.consumeLexeme();if(r!=null){var n=parseInt(r.str,10);if(isNaN(n)){var i="boost must be numeric";throw new t.QueryParseError(i,r.start,r.end)}e.currentClause.boost=n;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},function(e,r){typeof define=="function"&&define.amd?define(r):typeof se=="object"?oe.exports=r():e.lunr=r()}(this,function(){return t})})()});var ne=[];function G(t,e){ne.push({selector:e,constructor:t})}var U=class{constructor(){this.alwaysVisibleMember=null;this.createComponents(document.body),this.ensureActivePageVisible(),this.ensureFocusedElementVisible(),window.addEventListener("hashchange",()=>this.ensureFocusedElementVisible())}createComponents(e){ne.forEach(r=>{e.querySelectorAll(r.selector).forEach(n=>{n.dataset.hasInstance||(new r.constructor({el:n,app:this}),n.dataset.hasInstance=String(!0))})})}filterChanged(){this.ensureFocusedElementVisible()}ensureActivePageVisible(){let e=document.querySelector(".tsd-navigation .current"),r=e?.parentElement;for(;r&&!r.classList.contains(".tsd-navigation");)r instanceof HTMLDetailsElement&&e?.parentElement?.parentElement!==r&&(r.open=!0),r=r.parentElement;if(e){let n=e.getBoundingClientRect().top-document.documentElement.clientHeight/4;document.querySelector(".site-menu").scrollTop=n}}ensureFocusedElementVisible(){if(this.alwaysVisibleMember&&(this.alwaysVisibleMember.classList.remove("always-visible"),this.alwaysVisibleMember.firstElementChild.remove(),this.alwaysVisibleMember=null),!location.hash)return;let e=document.getElementById(location.hash.substring(1));if(!e)return;let r=e.parentElement;for(;r&&r.tagName!=="SECTION";)r=r.parentElement;if(r&&r.offsetParent==null){this.alwaysVisibleMember=r,r.classList.add("always-visible");let n=document.createElement("p");n.classList.add("warning"),n.textContent="This member is normally hidden due to your filter settings.",r.prepend(n)}}};var ie=(t,e=100)=>{let r;return()=>{clearTimeout(r),r=setTimeout(()=>t(),e)}};var ce=Ce(ae());function de(){let t=document.getElementById("tsd-search");if(!t)return;let e=document.getElementById("search-script");t.classList.add("loading"),e&&(e.addEventListener("error",()=>{t.classList.remove("loading"),t.classList.add("failure")}),e.addEventListener("load",()=>{t.classList.remove("loading"),t.classList.add("ready")}),window.searchData&&t.classList.remove("loading"));let r=document.querySelector("#tsd-search input"),n=document.querySelector("#tsd-search .results");if(!r||!n)throw new Error("The input field or the result list wrapper was not found");let i=!1;n.addEventListener("mousedown",()=>i=!0),n.addEventListener("mouseup",()=>{i=!1,t.classList.remove("has-focus")}),r.addEventListener("focus",()=>t.classList.add("has-focus")),r.addEventListener("blur",()=>{i||(i=!1,t.classList.remove("has-focus"))});let s={base:t.dataset.base+"/"};Oe(t,n,r,s)}function Oe(t,e,r,n){r.addEventListener("input",ie(()=>{Re(t,e,r,n)},200));let i=!1;r.addEventListener("keydown",s=>{i=!0,s.key=="Enter"?Fe(e,r):s.key=="Escape"?r.blur():s.key=="ArrowUp"?ue(e,-1):s.key==="ArrowDown"?ue(e,1):i=!1}),r.addEventListener("keypress",s=>{i&&s.preventDefault()}),document.body.addEventListener("keydown",s=>{s.altKey||s.ctrlKey||s.metaKey||!r.matches(":focus")&&s.key==="/"&&(r.focus(),s.preventDefault())})}function _e(t,e){t.index||window.searchData&&(e.classList.remove("loading"),e.classList.add("ready"),t.data=window.searchData,t.index=ce.Index.load(window.searchData.index))}function Re(t,e,r,n){if(_e(n,t),!n.index||!n.data)return;e.textContent="";let i=r.value.trim(),s=i?n.index.search(`*${i}*`):[];for(let o=0;oa.score-o.score);for(let o=0,a=Math.min(10,s.length);o${le(l.parent,i)}.${u}`);let d=document.createElement("li");d.classList.value=l.classes??"";let m=document.createElement("a");m.href=n.base+l.url,m.innerHTML=u,d.append(m),e.appendChild(d)}}function ue(t,e){let r=t.querySelector(".current");if(!r)r=t.querySelector(e==1?"li:first-child":"li:last-child"),r&&r.classList.add("current");else{let n=r;if(e===1)do n=n.nextElementSibling??void 0;while(n instanceof HTMLElement&&n.offsetParent==null);else do n=n.previousElementSibling??void 0;while(n instanceof HTMLElement&&n.offsetParent==null);n&&(r.classList.remove("current"),n.classList.add("current"))}}function Fe(t,e){let r=t.querySelector(".current");if(r||(r=t.querySelector("li:first-child")),r){let n=r.querySelector("a");n&&(window.location.href=n.href),e.blur()}}function le(t,e){if(e==="")return t;let r=t.toLocaleLowerCase(),n=e.toLocaleLowerCase(),i=[],s=0,o=r.indexOf(n);for(;o!=-1;)i.push(K(t.substring(s,o)),`${K(t.substring(o,o+n.length))}`),s=o+n.length,o=r.indexOf(n,s);return i.push(K(t.substring(s))),i.join("")}var Me={"&":"&","<":"<",">":">","'":"'",'"':"""};function K(t){return t.replace(/[&<>"'"]/g,e=>Me[e])}var P=class{constructor(e){this.el=e.el,this.app=e.app}};var M="mousedown",fe="mousemove",N="mouseup",J={x:0,y:0},he=!1,ee=!1,De=!1,D=!1,pe=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);document.documentElement.classList.add(pe?"is-mobile":"not-mobile");pe&&"ontouchstart"in document.documentElement&&(De=!0,M="touchstart",fe="touchmove",N="touchend");document.addEventListener(M,t=>{ee=!0,D=!1;let e=M=="touchstart"?t.targetTouches[0]:t;J.y=e.pageY||0,J.x=e.pageX||0});document.addEventListener(fe,t=>{if(ee&&!D){let e=M=="touchstart"?t.targetTouches[0]:t,r=J.x-(e.pageX||0),n=J.y-(e.pageY||0);D=Math.sqrt(r*r+n*n)>10}});document.addEventListener(N,()=>{ee=!1});document.addEventListener("click",t=>{he&&(t.preventDefault(),t.stopImmediatePropagation(),he=!1)});var X=class extends P{constructor(r){super(r);this.className=this.el.dataset.toggle||"",this.el.addEventListener(N,n=>this.onPointerUp(n)),this.el.addEventListener("click",n=>n.preventDefault()),document.addEventListener(M,n=>this.onDocumentPointerDown(n)),document.addEventListener(N,n=>this.onDocumentPointerUp(n))}setActive(r){if(this.active==r)return;this.active=r,document.documentElement.classList.toggle("has-"+this.className,r),this.el.classList.toggle("active",r);let n=(this.active?"to-has-":"from-has-")+this.className;document.documentElement.classList.add(n),setTimeout(()=>document.documentElement.classList.remove(n),500)}onPointerUp(r){D||(this.setActive(!0),r.preventDefault())}onDocumentPointerDown(r){if(this.active){if(r.target.closest(".col-sidebar, .tsd-filter-group"))return;this.setActive(!1)}}onDocumentPointerUp(r){if(!D&&this.active&&r.target.closest(".col-sidebar")){let n=r.target.closest("a");if(n){let i=window.location.href;i.indexOf("#")!=-1&&(i=i.substring(0,i.indexOf("#"))),n.href.substring(0,i.length)==i&&setTimeout(()=>this.setActive(!1),250)}}}};var te;try{te=localStorage}catch{te={getItem(){return null},setItem(){}}}var Q=te;var me=document.head.appendChild(document.createElement("style"));me.dataset.for="filters";var Y=class extends P{constructor(r){super(r);this.key=`filter-${this.el.name}`,this.value=this.el.checked,this.el.addEventListener("change",()=>{this.setLocalStorage(this.el.checked)}),this.setLocalStorage(this.fromLocalStorage()),me.innerHTML+=`html:not(.${this.key}) .tsd-is-${this.el.name} { display: none; } +`}fromLocalStorage(){let r=Q.getItem(this.key);return r?r==="true":this.el.checked}setLocalStorage(r){Q.setItem(this.key,r.toString()),this.value=r,this.handleValueChange()}handleValueChange(){this.el.checked=this.value,document.documentElement.classList.toggle(this.key,this.value),this.app.filterChanged(),document.querySelectorAll(".tsd-index-section").forEach(r=>{r.style.display="block";let n=Array.from(r.querySelectorAll(".tsd-index-link")).every(i=>i.offsetParent==null);r.style.display=n?"none":"block"})}};var Z=class extends P{constructor(r){super(r);this.summary=this.el.querySelector(".tsd-accordion-summary"),this.icon=this.summary.querySelector("svg"),this.key=`tsd-accordion-${this.summary.dataset.key??this.summary.textContent.trim().replace(/\s+/g,"-").toLowerCase()}`;let n=Q.getItem(this.key);this.el.open=n?n==="true":this.el.open,this.el.addEventListener("toggle",()=>this.update()),this.update()}update(){this.icon.style.transform=`rotate(${this.el.open?0:-90}deg)`,Q.setItem(this.key,this.el.open.toString())}};function ve(t){let e=Q.getItem("tsd-theme")||"os";t.value=e,ye(e),t.addEventListener("change",()=>{Q.setItem("tsd-theme",t.value),ye(t.value)})}function ye(t){document.documentElement.dataset.theme=t}de();G(X,"a[data-toggle]");G(Z,".tsd-index-accordion");G(Y,".tsd-filter-item input[type=checkbox]");var ge=document.getElementById("theme");ge&&ve(ge);var Ae=new U;Object.defineProperty(window,"app",{value:Ae});})(); /*! Bundled license information: lunr/lunr.js: diff --git a/docs/assets/search.js b/docs/assets/search.js index 552ba92e..a0815e98 100644 --- a/docs/assets/search.js +++ b/docs/assets/search.js @@ -1 +1 @@ -window.searchData = JSON.parse("{\"kinds\":{\"32\":\"Variable\",\"128\":\"Class\",\"256\":\"Interface\",\"512\":\"Constructor\",\"1024\":\"Property\",\"2048\":\"Method\",\"65536\":\"Type literal\",\"262144\":\"Accessor\",\"4194304\":\"Type alias\"},\"rows\":[{\"kind\":128,\"name\":\"DynamicClusterPool\",\"url\":\"classes/DynamicClusterPool.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/DynamicClusterPool.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"DynamicClusterPool\"},{\"kind\":1024,\"name\":\"max\",\"url\":\"classes/DynamicClusterPool.html#max\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"DynamicClusterPool\"},{\"kind\":262144,\"name\":\"type\",\"url\":\"classes/DynamicClusterPool.html#type\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"DynamicClusterPool\"},{\"kind\":262144,\"name\":\"full\",\"url\":\"classes/DynamicClusterPool.html#full\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"DynamicClusterPool\"},{\"kind\":262144,\"name\":\"busy\",\"url\":\"classes/DynamicClusterPool.html#busy\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"DynamicClusterPool\"},{\"kind\":1024,\"name\":\"opts\",\"url\":\"classes/DynamicClusterPool.html#opts\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"setupHook\",\"url\":\"classes/DynamicClusterPool.html#setupHook\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"isMain\",\"url\":\"classes/DynamicClusterPool.html#isMain\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"destroyWorker\",\"url\":\"classes/DynamicClusterPool.html#destroyWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"sendToWorker\",\"url\":\"classes/DynamicClusterPool.html#sendToWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"registerWorkerMessageListener\",\"url\":\"classes/DynamicClusterPool.html#registerWorkerMessageListener\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"createWorker\",\"url\":\"classes/DynamicClusterPool.html#createWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"afterWorkerSetup\",\"url\":\"classes/DynamicClusterPool.html#afterWorkerSetup\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":1024,\"name\":\"workerNodes\",\"url\":\"classes/DynamicClusterPool.html#workerNodes\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":1024,\"name\":\"emitter\",\"url\":\"classes/DynamicClusterPool.html#emitter\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":1024,\"name\":\"promiseResponseMap\",\"url\":\"classes/DynamicClusterPool.html#promiseResponseMap\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":1024,\"name\":\"workerChoiceStrategyContext\",\"url\":\"classes/DynamicClusterPool.html#workerChoiceStrategyContext\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":1024,\"name\":\"numberOfWorkers\",\"url\":\"classes/DynamicClusterPool.html#numberOfWorkers\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":1024,\"name\":\"filePath\",\"url\":\"classes/DynamicClusterPool.html#filePath\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":262144,\"name\":\"numberOfRunningTasks\",\"url\":\"classes/DynamicClusterPool.html#numberOfRunningTasks\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class tsd-is-private tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":262144,\"name\":\"numberOfQueuedTasks\",\"url\":\"classes/DynamicClusterPool.html#numberOfQueuedTasks\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class tsd-is-private tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"setWorkerChoiceStrategy\",\"url\":\"classes/DynamicClusterPool.html#setWorkerChoiceStrategy\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"internalBusy\",\"url\":\"classes/DynamicClusterPool.html#internalBusy\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"findFreeWorkerNodeKey\",\"url\":\"classes/DynamicClusterPool.html#findFreeWorkerNodeKey\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"execute\",\"url\":\"classes/DynamicClusterPool.html#execute\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"destroy\",\"url\":\"classes/DynamicClusterPool.html#destroy\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"beforeTaskExecutionHook\",\"url\":\"classes/DynamicClusterPool.html#beforeTaskExecutionHook\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"afterTaskExecutionHook\",\"url\":\"classes/DynamicClusterPool.html#afterTaskExecutionHook\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"chooseWorkerNode\",\"url\":\"classes/DynamicClusterPool.html#chooseWorkerNode\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"createAndSetupWorker\",\"url\":\"classes/DynamicClusterPool.html#createAndSetupWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"workerListener\",\"url\":\"classes/DynamicClusterPool.html#workerListener\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/DynamicClusterPool.html#workerListener.workerListener-1.__type\",\"classes\":\"tsd-kind-type-literal\",\"parent\":\"DynamicClusterPool.workerListener.workerListener\"},{\"kind\":128,\"name\":\"FixedClusterPool\",\"url\":\"classes/FixedClusterPool.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/FixedClusterPool.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"FixedClusterPool\"},{\"kind\":1024,\"name\":\"opts\",\"url\":\"classes/FixedClusterPool.html#opts\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"setupHook\",\"url\":\"classes/FixedClusterPool.html#setupHook\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"isMain\",\"url\":\"classes/FixedClusterPool.html#isMain\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"destroyWorker\",\"url\":\"classes/FixedClusterPool.html#destroyWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"sendToWorker\",\"url\":\"classes/FixedClusterPool.html#sendToWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"registerWorkerMessageListener\",\"url\":\"classes/FixedClusterPool.html#registerWorkerMessageListener\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"createWorker\",\"url\":\"classes/FixedClusterPool.html#createWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"afterWorkerSetup\",\"url\":\"classes/FixedClusterPool.html#afterWorkerSetup\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"FixedClusterPool\"},{\"kind\":262144,\"name\":\"type\",\"url\":\"classes/FixedClusterPool.html#type\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"FixedClusterPool\"},{\"kind\":262144,\"name\":\"full\",\"url\":\"classes/FixedClusterPool.html#full\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"FixedClusterPool\"},{\"kind\":262144,\"name\":\"busy\",\"url\":\"classes/FixedClusterPool.html#busy\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"FixedClusterPool\"},{\"kind\":1024,\"name\":\"workerNodes\",\"url\":\"classes/FixedClusterPool.html#workerNodes\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":1024,\"name\":\"emitter\",\"url\":\"classes/FixedClusterPool.html#emitter\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":1024,\"name\":\"promiseResponseMap\",\"url\":\"classes/FixedClusterPool.html#promiseResponseMap\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":1024,\"name\":\"workerChoiceStrategyContext\",\"url\":\"classes/FixedClusterPool.html#workerChoiceStrategyContext\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":1024,\"name\":\"numberOfWorkers\",\"url\":\"classes/FixedClusterPool.html#numberOfWorkers\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":1024,\"name\":\"filePath\",\"url\":\"classes/FixedClusterPool.html#filePath\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":262144,\"name\":\"numberOfRunningTasks\",\"url\":\"classes/FixedClusterPool.html#numberOfRunningTasks\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class tsd-is-private tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":262144,\"name\":\"numberOfQueuedTasks\",\"url\":\"classes/FixedClusterPool.html#numberOfQueuedTasks\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class tsd-is-private tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"setWorkerChoiceStrategy\",\"url\":\"classes/FixedClusterPool.html#setWorkerChoiceStrategy\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"internalBusy\",\"url\":\"classes/FixedClusterPool.html#internalBusy\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"findFreeWorkerNodeKey\",\"url\":\"classes/FixedClusterPool.html#findFreeWorkerNodeKey\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"execute\",\"url\":\"classes/FixedClusterPool.html#execute\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"destroy\",\"url\":\"classes/FixedClusterPool.html#destroy\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"beforeTaskExecutionHook\",\"url\":\"classes/FixedClusterPool.html#beforeTaskExecutionHook\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"afterTaskExecutionHook\",\"url\":\"classes/FixedClusterPool.html#afterTaskExecutionHook\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"chooseWorkerNode\",\"url\":\"classes/FixedClusterPool.html#chooseWorkerNode\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"createAndSetupWorker\",\"url\":\"classes/FixedClusterPool.html#createAndSetupWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"workerListener\",\"url\":\"classes/FixedClusterPool.html#workerListener\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/FixedClusterPool.html#workerListener.workerListener-1.__type\",\"classes\":\"tsd-kind-type-literal\",\"parent\":\"FixedClusterPool.workerListener.workerListener\"},{\"kind\":256,\"name\":\"ClusterPoolOptions\",\"url\":\"interfaces/ClusterPoolOptions.html\",\"classes\":\"tsd-kind-interface\"},{\"kind\":1024,\"name\":\"env\",\"url\":\"interfaces/ClusterPoolOptions.html#env\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":1024,\"name\":\"settings\",\"url\":\"interfaces/ClusterPoolOptions.html#settings\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":1024,\"name\":\"messageHandler\",\"url\":\"interfaces/ClusterPoolOptions.html#messageHandler\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":1024,\"name\":\"errorHandler\",\"url\":\"interfaces/ClusterPoolOptions.html#errorHandler\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":1024,\"name\":\"onlineHandler\",\"url\":\"interfaces/ClusterPoolOptions.html#onlineHandler\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":1024,\"name\":\"exitHandler\",\"url\":\"interfaces/ClusterPoolOptions.html#exitHandler\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":1024,\"name\":\"workerChoiceStrategy\",\"url\":\"interfaces/ClusterPoolOptions.html#workerChoiceStrategy\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":1024,\"name\":\"workerChoiceStrategyOptions\",\"url\":\"interfaces/ClusterPoolOptions.html#workerChoiceStrategyOptions\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":1024,\"name\":\"enableEvents\",\"url\":\"interfaces/ClusterPoolOptions.html#enableEvents\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":1024,\"name\":\"enableTasksQueue\",\"url\":\"interfaces/ClusterPoolOptions.html#enableTasksQueue\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":32,\"name\":\"PoolEvents\",\"url\":\"variables/PoolEvents.html\",\"classes\":\"tsd-kind-variable\"},{\"kind\":256,\"name\":\"IPool\",\"url\":\"interfaces/IPool.html\",\"classes\":\"tsd-kind-interface\"},{\"kind\":1024,\"name\":\"emitter\",\"url\":\"interfaces/IPool.html#emitter\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"IPool\"},{\"kind\":1024,\"name\":\"execute\",\"url\":\"interfaces/IPool.html#execute\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"IPool\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/IPool.html#execute.__type-2\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-property\",\"parent\":\"IPool.execute\"},{\"kind\":1024,\"name\":\"destroy\",\"url\":\"interfaces/IPool.html#destroy\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"IPool\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/IPool.html#destroy.__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-property\",\"parent\":\"IPool.destroy\"},{\"kind\":1024,\"name\":\"setWorkerChoiceStrategy\",\"url\":\"interfaces/IPool.html#setWorkerChoiceStrategy\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"IPool\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/IPool.html#setWorkerChoiceStrategy.__type-4\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-property\",\"parent\":\"IPool.setWorkerChoiceStrategy\"},{\"kind\":128,\"name\":\"PoolEmitter\",\"url\":\"classes/PoolEmitter.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":256,\"name\":\"PoolOptions\",\"url\":\"interfaces/PoolOptions.html\",\"classes\":\"tsd-kind-interface\"},{\"kind\":1024,\"name\":\"messageHandler\",\"url\":\"interfaces/PoolOptions.html#messageHandler\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"PoolOptions\"},{\"kind\":1024,\"name\":\"errorHandler\",\"url\":\"interfaces/PoolOptions.html#errorHandler\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"PoolOptions\"},{\"kind\":1024,\"name\":\"onlineHandler\",\"url\":\"interfaces/PoolOptions.html#onlineHandler\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"PoolOptions\"},{\"kind\":1024,\"name\":\"exitHandler\",\"url\":\"interfaces/PoolOptions.html#exitHandler\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"PoolOptions\"},{\"kind\":1024,\"name\":\"workerChoiceStrategy\",\"url\":\"interfaces/PoolOptions.html#workerChoiceStrategy\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"PoolOptions\"},{\"kind\":1024,\"name\":\"workerChoiceStrategyOptions\",\"url\":\"interfaces/PoolOptions.html#workerChoiceStrategyOptions\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"PoolOptions\"},{\"kind\":1024,\"name\":\"enableEvents\",\"url\":\"interfaces/PoolOptions.html#enableEvents\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"PoolOptions\"},{\"kind\":1024,\"name\":\"enableTasksQueue\",\"url\":\"interfaces/PoolOptions.html#enableTasksQueue\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"PoolOptions\"},{\"kind\":4194304,\"name\":\"PoolEvent\",\"url\":\"types/PoolEvent.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":4194304,\"name\":\"ErrorHandler\",\"url\":\"types/ErrorHandler.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/ErrorHandler.html#__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"ErrorHandler\"},{\"kind\":4194304,\"name\":\"ExitHandler\",\"url\":\"types/ExitHandler.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/ExitHandler.html#__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"ExitHandler\"},{\"kind\":4194304,\"name\":\"MessageHandler\",\"url\":\"types/MessageHandler.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/MessageHandler.html#__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"MessageHandler\"},{\"kind\":4194304,\"name\":\"OnlineHandler\",\"url\":\"types/OnlineHandler.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/OnlineHandler.html#__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"OnlineHandler\"},{\"kind\":32,\"name\":\"WorkerChoiceStrategies\",\"url\":\"variables/WorkerChoiceStrategies.html\",\"classes\":\"tsd-kind-variable\"},{\"kind\":4194304,\"name\":\"WorkerChoiceStrategy\",\"url\":\"types/WorkerChoiceStrategy.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":256,\"name\":\"WorkerChoiceStrategyOptions\",\"url\":\"interfaces/WorkerChoiceStrategyOptions.html\",\"classes\":\"tsd-kind-interface\"},{\"kind\":1024,\"name\":\"medRunTime\",\"url\":\"interfaces/WorkerChoiceStrategyOptions.html#medRunTime\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"WorkerChoiceStrategyOptions\"},{\"kind\":128,\"name\":\"DynamicThreadPool\",\"url\":\"classes/DynamicThreadPool.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/DynamicThreadPool.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"DynamicThreadPool\"},{\"kind\":1024,\"name\":\"max\",\"url\":\"classes/DynamicThreadPool.html#max\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"DynamicThreadPool\"},{\"kind\":262144,\"name\":\"type\",\"url\":\"classes/DynamicThreadPool.html#type\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"DynamicThreadPool\"},{\"kind\":262144,\"name\":\"full\",\"url\":\"classes/DynamicThreadPool.html#full\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"DynamicThreadPool\"},{\"kind\":262144,\"name\":\"busy\",\"url\":\"classes/DynamicThreadPool.html#busy\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"isMain\",\"url\":\"classes/DynamicThreadPool.html#isMain\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"destroyWorker\",\"url\":\"classes/DynamicThreadPool.html#destroyWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"sendToWorker\",\"url\":\"classes/DynamicThreadPool.html#sendToWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"registerWorkerMessageListener\",\"url\":\"classes/DynamicThreadPool.html#registerWorkerMessageListener\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"createWorker\",\"url\":\"classes/DynamicThreadPool.html#createWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"afterWorkerSetup\",\"url\":\"classes/DynamicThreadPool.html#afterWorkerSetup\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":1024,\"name\":\"workerNodes\",\"url\":\"classes/DynamicThreadPool.html#workerNodes\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":1024,\"name\":\"emitter\",\"url\":\"classes/DynamicThreadPool.html#emitter\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":1024,\"name\":\"promiseResponseMap\",\"url\":\"classes/DynamicThreadPool.html#promiseResponseMap\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":1024,\"name\":\"workerChoiceStrategyContext\",\"url\":\"classes/DynamicThreadPool.html#workerChoiceStrategyContext\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":1024,\"name\":\"numberOfWorkers\",\"url\":\"classes/DynamicThreadPool.html#numberOfWorkers\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":1024,\"name\":\"filePath\",\"url\":\"classes/DynamicThreadPool.html#filePath\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":1024,\"name\":\"opts\",\"url\":\"classes/DynamicThreadPool.html#opts\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":262144,\"name\":\"numberOfRunningTasks\",\"url\":\"classes/DynamicThreadPool.html#numberOfRunningTasks\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class tsd-is-private tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":262144,\"name\":\"numberOfQueuedTasks\",\"url\":\"classes/DynamicThreadPool.html#numberOfQueuedTasks\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class tsd-is-private tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"setWorkerChoiceStrategy\",\"url\":\"classes/DynamicThreadPool.html#setWorkerChoiceStrategy\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"internalBusy\",\"url\":\"classes/DynamicThreadPool.html#internalBusy\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"findFreeWorkerNodeKey\",\"url\":\"classes/DynamicThreadPool.html#findFreeWorkerNodeKey\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"execute\",\"url\":\"classes/DynamicThreadPool.html#execute\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"destroy\",\"url\":\"classes/DynamicThreadPool.html#destroy\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"setupHook\",\"url\":\"classes/DynamicThreadPool.html#setupHook\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"beforeTaskExecutionHook\",\"url\":\"classes/DynamicThreadPool.html#beforeTaskExecutionHook\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"afterTaskExecutionHook\",\"url\":\"classes/DynamicThreadPool.html#afterTaskExecutionHook\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"chooseWorkerNode\",\"url\":\"classes/DynamicThreadPool.html#chooseWorkerNode\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"createAndSetupWorker\",\"url\":\"classes/DynamicThreadPool.html#createAndSetupWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"workerListener\",\"url\":\"classes/DynamicThreadPool.html#workerListener\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/DynamicThreadPool.html#workerListener.workerListener-1.__type\",\"classes\":\"tsd-kind-type-literal\",\"parent\":\"DynamicThreadPool.workerListener.workerListener\"},{\"kind\":128,\"name\":\"FixedThreadPool\",\"url\":\"classes/FixedThreadPool.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/FixedThreadPool.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"isMain\",\"url\":\"classes/FixedThreadPool.html#isMain\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"destroyWorker\",\"url\":\"classes/FixedThreadPool.html#destroyWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"sendToWorker\",\"url\":\"classes/FixedThreadPool.html#sendToWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"registerWorkerMessageListener\",\"url\":\"classes/FixedThreadPool.html#registerWorkerMessageListener\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"createWorker\",\"url\":\"classes/FixedThreadPool.html#createWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"afterWorkerSetup\",\"url\":\"classes/FixedThreadPool.html#afterWorkerSetup\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"FixedThreadPool\"},{\"kind\":262144,\"name\":\"type\",\"url\":\"classes/FixedThreadPool.html#type\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"FixedThreadPool\"},{\"kind\":262144,\"name\":\"full\",\"url\":\"classes/FixedThreadPool.html#full\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"FixedThreadPool\"},{\"kind\":262144,\"name\":\"busy\",\"url\":\"classes/FixedThreadPool.html#busy\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"FixedThreadPool\"},{\"kind\":1024,\"name\":\"workerNodes\",\"url\":\"classes/FixedThreadPool.html#workerNodes\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":1024,\"name\":\"emitter\",\"url\":\"classes/FixedThreadPool.html#emitter\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":1024,\"name\":\"promiseResponseMap\",\"url\":\"classes/FixedThreadPool.html#promiseResponseMap\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":1024,\"name\":\"workerChoiceStrategyContext\",\"url\":\"classes/FixedThreadPool.html#workerChoiceStrategyContext\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":1024,\"name\":\"numberOfWorkers\",\"url\":\"classes/FixedThreadPool.html#numberOfWorkers\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":1024,\"name\":\"filePath\",\"url\":\"classes/FixedThreadPool.html#filePath\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":1024,\"name\":\"opts\",\"url\":\"classes/FixedThreadPool.html#opts\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":262144,\"name\":\"numberOfRunningTasks\",\"url\":\"classes/FixedThreadPool.html#numberOfRunningTasks\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class tsd-is-private tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":262144,\"name\":\"numberOfQueuedTasks\",\"url\":\"classes/FixedThreadPool.html#numberOfQueuedTasks\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class tsd-is-private tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"setWorkerChoiceStrategy\",\"url\":\"classes/FixedThreadPool.html#setWorkerChoiceStrategy\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"internalBusy\",\"url\":\"classes/FixedThreadPool.html#internalBusy\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"findFreeWorkerNodeKey\",\"url\":\"classes/FixedThreadPool.html#findFreeWorkerNodeKey\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"execute\",\"url\":\"classes/FixedThreadPool.html#execute\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"destroy\",\"url\":\"classes/FixedThreadPool.html#destroy\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"setupHook\",\"url\":\"classes/FixedThreadPool.html#setupHook\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"beforeTaskExecutionHook\",\"url\":\"classes/FixedThreadPool.html#beforeTaskExecutionHook\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"afterTaskExecutionHook\",\"url\":\"classes/FixedThreadPool.html#afterTaskExecutionHook\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"chooseWorkerNode\",\"url\":\"classes/FixedThreadPool.html#chooseWorkerNode\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"createAndSetupWorker\",\"url\":\"classes/FixedThreadPool.html#createAndSetupWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"workerListener\",\"url\":\"classes/FixedThreadPool.html#workerListener\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/FixedThreadPool.html#workerListener.workerListener-1.__type\",\"classes\":\"tsd-kind-type-literal\",\"parent\":\"FixedThreadPool.workerListener.workerListener\"},{\"kind\":4194304,\"name\":\"ThreadWorkerWithMessageChannel\",\"url\":\"types/ThreadWorkerWithMessageChannel.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":128,\"name\":\"ClusterWorker\",\"url\":\"classes/ClusterWorker.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/ClusterWorker.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"ClusterWorker\"},{\"kind\":2048,\"name\":\"sendToMainWorker\",\"url\":\"classes/ClusterWorker.html#sendToMainWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"ClusterWorker\"},{\"kind\":2048,\"name\":\"handleError\",\"url\":\"classes/ClusterWorker.html#handleError\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"ClusterWorker\"},{\"kind\":1024,\"name\":\"lastTaskTimestamp\",\"url\":\"classes/ClusterWorker.html#lastTaskTimestamp\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":1024,\"name\":\"aliveInterval\",\"url\":\"classes/ClusterWorker.html#aliveInterval\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":1024,\"name\":\"isMain\",\"url\":\"classes/ClusterWorker.html#isMain\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":1024,\"name\":\"mainWorker\",\"url\":\"classes/ClusterWorker.html#mainWorker\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":1024,\"name\":\"opts\",\"url\":\"classes/ClusterWorker.html#opts\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":2048,\"name\":\"messageListener\",\"url\":\"classes/ClusterWorker.html#messageListener\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":2048,\"name\":\"getMainWorker\",\"url\":\"classes/ClusterWorker.html#getMainWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":2048,\"name\":\"checkAlive\",\"url\":\"classes/ClusterWorker.html#checkAlive\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":2048,\"name\":\"run\",\"url\":\"classes/ClusterWorker.html#run\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":2048,\"name\":\"runAsync\",\"url\":\"classes/ClusterWorker.html#runAsync\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":128,\"name\":\"ThreadWorker\",\"url\":\"classes/ThreadWorker.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/ThreadWorker.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"ThreadWorker\"},{\"kind\":2048,\"name\":\"sendToMainWorker\",\"url\":\"classes/ThreadWorker.html#sendToMainWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"ThreadWorker\"},{\"kind\":1024,\"name\":\"lastTaskTimestamp\",\"url\":\"classes/ThreadWorker.html#lastTaskTimestamp\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":1024,\"name\":\"aliveInterval\",\"url\":\"classes/ThreadWorker.html#aliveInterval\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":1024,\"name\":\"isMain\",\"url\":\"classes/ThreadWorker.html#isMain\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":1024,\"name\":\"mainWorker\",\"url\":\"classes/ThreadWorker.html#mainWorker\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":1024,\"name\":\"opts\",\"url\":\"classes/ThreadWorker.html#opts\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":2048,\"name\":\"messageListener\",\"url\":\"classes/ThreadWorker.html#messageListener\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":2048,\"name\":\"getMainWorker\",\"url\":\"classes/ThreadWorker.html#getMainWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":2048,\"name\":\"checkAlive\",\"url\":\"classes/ThreadWorker.html#checkAlive\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":2048,\"name\":\"handleError\",\"url\":\"classes/ThreadWorker.html#handleError\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":2048,\"name\":\"run\",\"url\":\"classes/ThreadWorker.html#run\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":2048,\"name\":\"runAsync\",\"url\":\"classes/ThreadWorker.html#runAsync\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":32,\"name\":\"KillBehaviors\",\"url\":\"variables/KillBehaviors.html\",\"classes\":\"tsd-kind-variable\"},{\"kind\":4194304,\"name\":\"KillBehavior\",\"url\":\"types/KillBehavior.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":256,\"name\":\"WorkerOptions\",\"url\":\"interfaces/WorkerOptions.html\",\"classes\":\"tsd-kind-interface\"},{\"kind\":1024,\"name\":\"maxInactiveTime\",\"url\":\"interfaces/WorkerOptions.html#maxInactiveTime\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"WorkerOptions\"},{\"kind\":1024,\"name\":\"async\",\"url\":\"interfaces/WorkerOptions.html#async\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"WorkerOptions\"},{\"kind\":1024,\"name\":\"killBehavior\",\"url\":\"interfaces/WorkerOptions.html#killBehavior\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"WorkerOptions\"}],\"index\":{\"version\":\"2.3.9\",\"fields\":[\"name\",\"comment\"],\"fieldVectors\":[[\"name/0\",[0,49.369]],[\"comment/0\",[]],[\"name/1\",[1,34.705]],[\"comment/1\",[]],[\"name/2\",[2,44.26]],[\"comment/2\",[]],[\"name/3\",[3,38.383]],[\"comment/3\",[]],[\"name/4\",[4,38.383]],[\"comment/4\",[]],[\"name/5\",[5,38.383]],[\"comment/5\",[]],[\"name/6\",[6,34.705]],[\"comment/6\",[]],[\"name/7\",[7,38.383]],[\"comment/7\",[]],[\"name/8\",[8,34.705]],[\"comment/8\",[]],[\"name/9\",[9,38.383]],[\"comment/9\",[]],[\"name/10\",[10,38.383]],[\"comment/10\",[]],[\"name/11\",[11,38.383]],[\"comment/11\",[]],[\"name/12\",[12,38.383]],[\"comment/12\",[]],[\"name/13\",[13,38.383]],[\"comment/13\",[]],[\"name/14\",[14,38.383]],[\"comment/14\",[]],[\"name/15\",[15,36.376]],[\"comment/15\",[]],[\"name/16\",[16,38.383]],[\"comment/16\",[]],[\"name/17\",[17,38.383]],[\"comment/17\",[]],[\"name/18\",[18,38.383]],[\"comment/18\",[]],[\"name/19\",[19,38.383]],[\"comment/19\",[]],[\"name/20\",[20,38.383]],[\"comment/20\",[]],[\"name/21\",[21,38.383]],[\"comment/21\",[]],[\"name/22\",[22,36.376]],[\"comment/22\",[]],[\"name/23\",[23,38.383]],[\"comment/23\",[]],[\"name/24\",[24,38.383]],[\"comment/24\",[]],[\"name/25\",[25,36.376]],[\"comment/25\",[]],[\"name/26\",[26,36.376]],[\"comment/26\",[]],[\"name/27\",[27,38.383]],[\"comment/27\",[]],[\"name/28\",[28,38.383]],[\"comment/28\",[]],[\"name/29\",[29,38.383]],[\"comment/29\",[]],[\"name/30\",[30,38.383]],[\"comment/30\",[]],[\"name/31\",[31,38.383]],[\"comment/31\",[]],[\"name/32\",[32,29]],[\"comment/32\",[]],[\"name/33\",[33,49.369]],[\"comment/33\",[]],[\"name/34\",[1,34.705]],[\"comment/34\",[]],[\"name/35\",[6,34.705]],[\"comment/35\",[]],[\"name/36\",[7,38.383]],[\"comment/36\",[]],[\"name/37\",[8,34.705]],[\"comment/37\",[]],[\"name/38\",[9,38.383]],[\"comment/38\",[]],[\"name/39\",[10,38.383]],[\"comment/39\",[]],[\"name/40\",[11,38.383]],[\"comment/40\",[]],[\"name/41\",[12,38.383]],[\"comment/41\",[]],[\"name/42\",[13,38.383]],[\"comment/42\",[]],[\"name/43\",[3,38.383]],[\"comment/43\",[]],[\"name/44\",[4,38.383]],[\"comment/44\",[]],[\"name/45\",[5,38.383]],[\"comment/45\",[]],[\"name/46\",[14,38.383]],[\"comment/46\",[]],[\"name/47\",[15,36.376]],[\"comment/47\",[]],[\"name/48\",[16,38.383]],[\"comment/48\",[]],[\"name/49\",[17,38.383]],[\"comment/49\",[]],[\"name/50\",[18,38.383]],[\"comment/50\",[]],[\"name/51\",[19,38.383]],[\"comment/51\",[]],[\"name/52\",[20,38.383]],[\"comment/52\",[]],[\"name/53\",[21,38.383]],[\"comment/53\",[]],[\"name/54\",[22,36.376]],[\"comment/54\",[]],[\"name/55\",[23,38.383]],[\"comment/55\",[]],[\"name/56\",[24,38.383]],[\"comment/56\",[]],[\"name/57\",[25,36.376]],[\"comment/57\",[]],[\"name/58\",[26,36.376]],[\"comment/58\",[]],[\"name/59\",[27,38.383]],[\"comment/59\",[]],[\"name/60\",[28,38.383]],[\"comment/60\",[]],[\"name/61\",[29,38.383]],[\"comment/61\",[]],[\"name/62\",[30,38.383]],[\"comment/62\",[]],[\"name/63\",[31,38.383]],[\"comment/63\",[]],[\"name/64\",[32,29]],[\"comment/64\",[]],[\"name/65\",[34,49.369]],[\"comment/65\",[]],[\"name/66\",[35,49.369]],[\"comment/66\",[]],[\"name/67\",[36,49.369]],[\"comment/67\",[]],[\"name/68\",[37,40.896]],[\"comment/68\",[]],[\"name/69\",[38,40.896]],[\"comment/69\",[]],[\"name/70\",[39,40.896]],[\"comment/70\",[]],[\"name/71\",[40,40.896]],[\"comment/71\",[]],[\"name/72\",[41,40.896]],[\"comment/72\",[]],[\"name/73\",[42,40.896]],[\"comment/73\",[]],[\"name/74\",[43,44.26]],[\"comment/74\",[]],[\"name/75\",[44,44.26]],[\"comment/75\",[]],[\"name/76\",[45,49.369]],[\"comment/76\",[]],[\"name/77\",[46,49.369]],[\"comment/77\",[]],[\"name/78\",[15,36.376]],[\"comment/78\",[]],[\"name/79\",[25,36.376]],[\"comment/79\",[]],[\"name/80\",[32,29]],[\"comment/80\",[]],[\"name/81\",[26,36.376]],[\"comment/81\",[]],[\"name/82\",[32,29]],[\"comment/82\",[]],[\"name/83\",[22,36.376]],[\"comment/83\",[]],[\"name/84\",[32,29]],[\"comment/84\",[]],[\"name/85\",[47,49.369]],[\"comment/85\",[]],[\"name/86\",[48,49.369]],[\"comment/86\",[]],[\"name/87\",[37,40.896]],[\"comment/87\",[]],[\"name/88\",[38,40.896]],[\"comment/88\",[]],[\"name/89\",[39,40.896]],[\"comment/89\",[]],[\"name/90\",[40,40.896]],[\"comment/90\",[]],[\"name/91\",[41,40.896]],[\"comment/91\",[]],[\"name/92\",[42,40.896]],[\"comment/92\",[]],[\"name/93\",[43,44.26]],[\"comment/93\",[]],[\"name/94\",[44,44.26]],[\"comment/94\",[]],[\"name/95\",[49,49.369]],[\"comment/95\",[]],[\"name/96\",[38,40.896]],[\"comment/96\",[]],[\"name/97\",[32,29]],[\"comment/97\",[]],[\"name/98\",[40,40.896]],[\"comment/98\",[]],[\"name/99\",[32,29]],[\"comment/99\",[]],[\"name/100\",[37,40.896]],[\"comment/100\",[]],[\"name/101\",[32,29]],[\"comment/101\",[]],[\"name/102\",[39,40.896]],[\"comment/102\",[]],[\"name/103\",[32,29]],[\"comment/103\",[]],[\"name/104\",[50,49.369]],[\"comment/104\",[]],[\"name/105\",[41,40.896]],[\"comment/105\",[]],[\"name/106\",[42,40.896]],[\"comment/106\",[]],[\"name/107\",[51,49.369]],[\"comment/107\",[]],[\"name/108\",[52,49.369]],[\"comment/108\",[]],[\"name/109\",[1,34.705]],[\"comment/109\",[]],[\"name/110\",[2,44.26]],[\"comment/110\",[]],[\"name/111\",[3,38.383]],[\"comment/111\",[]],[\"name/112\",[4,38.383]],[\"comment/112\",[]],[\"name/113\",[5,38.383]],[\"comment/113\",[]],[\"name/114\",[8,34.705]],[\"comment/114\",[]],[\"name/115\",[9,38.383]],[\"comment/115\",[]],[\"name/116\",[10,38.383]],[\"comment/116\",[]],[\"name/117\",[11,38.383]],[\"comment/117\",[]],[\"name/118\",[12,38.383]],[\"comment/118\",[]],[\"name/119\",[13,38.383]],[\"comment/119\",[]],[\"name/120\",[14,38.383]],[\"comment/120\",[]],[\"name/121\",[15,36.376]],[\"comment/121\",[]],[\"name/122\",[16,38.383]],[\"comment/122\",[]],[\"name/123\",[17,38.383]],[\"comment/123\",[]],[\"name/124\",[18,38.383]],[\"comment/124\",[]],[\"name/125\",[19,38.383]],[\"comment/125\",[]],[\"name/126\",[6,34.705]],[\"comment/126\",[]],[\"name/127\",[20,38.383]],[\"comment/127\",[]],[\"name/128\",[21,38.383]],[\"comment/128\",[]],[\"name/129\",[22,36.376]],[\"comment/129\",[]],[\"name/130\",[23,38.383]],[\"comment/130\",[]],[\"name/131\",[24,38.383]],[\"comment/131\",[]],[\"name/132\",[25,36.376]],[\"comment/132\",[]],[\"name/133\",[26,36.376]],[\"comment/133\",[]],[\"name/134\",[7,38.383]],[\"comment/134\",[]],[\"name/135\",[27,38.383]],[\"comment/135\",[]],[\"name/136\",[28,38.383]],[\"comment/136\",[]],[\"name/137\",[29,38.383]],[\"comment/137\",[]],[\"name/138\",[30,38.383]],[\"comment/138\",[]],[\"name/139\",[31,38.383]],[\"comment/139\",[]],[\"name/140\",[32,29]],[\"comment/140\",[]],[\"name/141\",[53,49.369]],[\"comment/141\",[]],[\"name/142\",[1,34.705]],[\"comment/142\",[]],[\"name/143\",[8,34.705]],[\"comment/143\",[]],[\"name/144\",[9,38.383]],[\"comment/144\",[]],[\"name/145\",[10,38.383]],[\"comment/145\",[]],[\"name/146\",[11,38.383]],[\"comment/146\",[]],[\"name/147\",[12,38.383]],[\"comment/147\",[]],[\"name/148\",[13,38.383]],[\"comment/148\",[]],[\"name/149\",[3,38.383]],[\"comment/149\",[]],[\"name/150\",[4,38.383]],[\"comment/150\",[]],[\"name/151\",[5,38.383]],[\"comment/151\",[]],[\"name/152\",[14,38.383]],[\"comment/152\",[]],[\"name/153\",[15,36.376]],[\"comment/153\",[]],[\"name/154\",[16,38.383]],[\"comment/154\",[]],[\"name/155\",[17,38.383]],[\"comment/155\",[]],[\"name/156\",[18,38.383]],[\"comment/156\",[]],[\"name/157\",[19,38.383]],[\"comment/157\",[]],[\"name/158\",[6,34.705]],[\"comment/158\",[]],[\"name/159\",[20,38.383]],[\"comment/159\",[]],[\"name/160\",[21,38.383]],[\"comment/160\",[]],[\"name/161\",[22,36.376]],[\"comment/161\",[]],[\"name/162\",[23,38.383]],[\"comment/162\",[]],[\"name/163\",[24,38.383]],[\"comment/163\",[]],[\"name/164\",[25,36.376]],[\"comment/164\",[]],[\"name/165\",[26,36.376]],[\"comment/165\",[]],[\"name/166\",[7,38.383]],[\"comment/166\",[]],[\"name/167\",[27,38.383]],[\"comment/167\",[]],[\"name/168\",[28,38.383]],[\"comment/168\",[]],[\"name/169\",[29,38.383]],[\"comment/169\",[]],[\"name/170\",[30,38.383]],[\"comment/170\",[]],[\"name/171\",[31,38.383]],[\"comment/171\",[]],[\"name/172\",[32,29]],[\"comment/172\",[]],[\"name/173\",[54,49.369]],[\"comment/173\",[]],[\"name/174\",[55,49.369]],[\"comment/174\",[]],[\"name/175\",[1,34.705]],[\"comment/175\",[]],[\"name/176\",[56,44.26]],[\"comment/176\",[]],[\"name/177\",[57,44.26]],[\"comment/177\",[]],[\"name/178\",[58,44.26]],[\"comment/178\",[]],[\"name/179\",[59,44.26]],[\"comment/179\",[]],[\"name/180\",[8,34.705]],[\"comment/180\",[]],[\"name/181\",[60,44.26]],[\"comment/181\",[]],[\"name/182\",[6,34.705]],[\"comment/182\",[]],[\"name/183\",[61,44.26]],[\"comment/183\",[]],[\"name/184\",[62,44.26]],[\"comment/184\",[]],[\"name/185\",[63,44.26]],[\"comment/185\",[]],[\"name/186\",[64,44.26]],[\"comment/186\",[]],[\"name/187\",[65,44.26]],[\"comment/187\",[]],[\"name/188\",[66,49.369]],[\"comment/188\",[]],[\"name/189\",[1,34.705]],[\"comment/189\",[]],[\"name/190\",[56,44.26]],[\"comment/190\",[]],[\"name/191\",[58,44.26]],[\"comment/191\",[]],[\"name/192\",[59,44.26]],[\"comment/192\",[]],[\"name/193\",[8,34.705]],[\"comment/193\",[]],[\"name/194\",[60,44.26]],[\"comment/194\",[]],[\"name/195\",[6,34.705]],[\"comment/195\",[]],[\"name/196\",[61,44.26]],[\"comment/196\",[]],[\"name/197\",[62,44.26]],[\"comment/197\",[]],[\"name/198\",[63,44.26]],[\"comment/198\",[]],[\"name/199\",[57,44.26]],[\"comment/199\",[]],[\"name/200\",[64,44.26]],[\"comment/200\",[]],[\"name/201\",[65,44.26]],[\"comment/201\",[]],[\"name/202\",[67,49.369]],[\"comment/202\",[]],[\"name/203\",[68,44.26]],[\"comment/203\",[]],[\"name/204\",[69,49.369]],[\"comment/204\",[]],[\"name/205\",[70,49.369]],[\"comment/205\",[]],[\"name/206\",[71,49.369]],[\"comment/206\",[]],[\"name/207\",[68,44.26]],[\"comment/207\",[]]],\"invertedIndex\":[[\"__type\",{\"_index\":32,\"name\":{\"32\":{},\"64\":{},\"80\":{},\"82\":{},\"84\":{},\"97\":{},\"99\":{},\"101\":{},\"103\":{},\"140\":{},\"172\":{}},\"comment\":{}}],[\"aftertaskexecutionhook\",{\"_index\":28,\"name\":{\"28\":{},\"60\":{},\"136\":{},\"168\":{}},\"comment\":{}}],[\"afterworkersetup\",{\"_index\":13,\"name\":{\"13\":{},\"42\":{},\"119\":{},\"148\":{}},\"comment\":{}}],[\"aliveinterval\",{\"_index\":59,\"name\":{\"179\":{},\"192\":{}},\"comment\":{}}],[\"async\",{\"_index\":71,\"name\":{\"206\":{}},\"comment\":{}}],[\"beforetaskexecutionhook\",{\"_index\":27,\"name\":{\"27\":{},\"59\":{},\"135\":{},\"167\":{}},\"comment\":{}}],[\"busy\",{\"_index\":5,\"name\":{\"5\":{},\"45\":{},\"113\":{},\"151\":{}},\"comment\":{}}],[\"checkalive\",{\"_index\":63,\"name\":{\"185\":{},\"198\":{}},\"comment\":{}}],[\"chooseworkernode\",{\"_index\":29,\"name\":{\"29\":{},\"61\":{},\"137\":{},\"169\":{}},\"comment\":{}}],[\"clusterpooloptions\",{\"_index\":34,\"name\":{\"65\":{}},\"comment\":{}}],[\"clusterworker\",{\"_index\":55,\"name\":{\"174\":{}},\"comment\":{}}],[\"constructor\",{\"_index\":1,\"name\":{\"1\":{},\"34\":{},\"109\":{},\"142\":{},\"175\":{},\"189\":{}},\"comment\":{}}],[\"createandsetupworker\",{\"_index\":30,\"name\":{\"30\":{},\"62\":{},\"138\":{},\"170\":{}},\"comment\":{}}],[\"createworker\",{\"_index\":12,\"name\":{\"12\":{},\"41\":{},\"118\":{},\"147\":{}},\"comment\":{}}],[\"destroy\",{\"_index\":26,\"name\":{\"26\":{},\"58\":{},\"81\":{},\"133\":{},\"165\":{}},\"comment\":{}}],[\"destroyworker\",{\"_index\":9,\"name\":{\"9\":{},\"38\":{},\"115\":{},\"144\":{}},\"comment\":{}}],[\"dynamicclusterpool\",{\"_index\":0,\"name\":{\"0\":{}},\"comment\":{}}],[\"dynamicthreadpool\",{\"_index\":52,\"name\":{\"108\":{}},\"comment\":{}}],[\"emitter\",{\"_index\":15,\"name\":{\"15\":{},\"47\":{},\"78\":{},\"121\":{},\"153\":{}},\"comment\":{}}],[\"enableevents\",{\"_index\":43,\"name\":{\"74\":{},\"93\":{}},\"comment\":{}}],[\"enabletasksqueue\",{\"_index\":44,\"name\":{\"75\":{},\"94\":{}},\"comment\":{}}],[\"env\",{\"_index\":35,\"name\":{\"66\":{}},\"comment\":{}}],[\"errorhandler\",{\"_index\":38,\"name\":{\"69\":{},\"88\":{},\"96\":{}},\"comment\":{}}],[\"execute\",{\"_index\":25,\"name\":{\"25\":{},\"57\":{},\"79\":{},\"132\":{},\"164\":{}},\"comment\":{}}],[\"exithandler\",{\"_index\":40,\"name\":{\"71\":{},\"90\":{},\"98\":{}},\"comment\":{}}],[\"filepath\",{\"_index\":19,\"name\":{\"19\":{},\"51\":{},\"125\":{},\"157\":{}},\"comment\":{}}],[\"findfreeworkernodekey\",{\"_index\":24,\"name\":{\"24\":{},\"56\":{},\"131\":{},\"163\":{}},\"comment\":{}}],[\"fixedclusterpool\",{\"_index\":33,\"name\":{\"33\":{}},\"comment\":{}}],[\"fixedthreadpool\",{\"_index\":53,\"name\":{\"141\":{}},\"comment\":{}}],[\"full\",{\"_index\":4,\"name\":{\"4\":{},\"44\":{},\"112\":{},\"150\":{}},\"comment\":{}}],[\"getmainworker\",{\"_index\":62,\"name\":{\"184\":{},\"197\":{}},\"comment\":{}}],[\"handleerror\",{\"_index\":57,\"name\":{\"177\":{},\"199\":{}},\"comment\":{}}],[\"internalbusy\",{\"_index\":23,\"name\":{\"23\":{},\"55\":{},\"130\":{},\"162\":{}},\"comment\":{}}],[\"ipool\",{\"_index\":46,\"name\":{\"77\":{}},\"comment\":{}}],[\"ismain\",{\"_index\":8,\"name\":{\"8\":{},\"37\":{},\"114\":{},\"143\":{},\"180\":{},\"193\":{}},\"comment\":{}}],[\"killbehavior\",{\"_index\":68,\"name\":{\"203\":{},\"207\":{}},\"comment\":{}}],[\"killbehaviors\",{\"_index\":67,\"name\":{\"202\":{}},\"comment\":{}}],[\"lasttasktimestamp\",{\"_index\":58,\"name\":{\"178\":{},\"191\":{}},\"comment\":{}}],[\"mainworker\",{\"_index\":60,\"name\":{\"181\":{},\"194\":{}},\"comment\":{}}],[\"max\",{\"_index\":2,\"name\":{\"2\":{},\"110\":{}},\"comment\":{}}],[\"maxinactivetime\",{\"_index\":70,\"name\":{\"205\":{}},\"comment\":{}}],[\"medruntime\",{\"_index\":51,\"name\":{\"107\":{}},\"comment\":{}}],[\"messagehandler\",{\"_index\":37,\"name\":{\"68\":{},\"87\":{},\"100\":{}},\"comment\":{}}],[\"messagelistener\",{\"_index\":61,\"name\":{\"183\":{},\"196\":{}},\"comment\":{}}],[\"numberofqueuedtasks\",{\"_index\":21,\"name\":{\"21\":{},\"53\":{},\"128\":{},\"160\":{}},\"comment\":{}}],[\"numberofrunningtasks\",{\"_index\":20,\"name\":{\"20\":{},\"52\":{},\"127\":{},\"159\":{}},\"comment\":{}}],[\"numberofworkers\",{\"_index\":18,\"name\":{\"18\":{},\"50\":{},\"124\":{},\"156\":{}},\"comment\":{}}],[\"onlinehandler\",{\"_index\":39,\"name\":{\"70\":{},\"89\":{},\"102\":{}},\"comment\":{}}],[\"opts\",{\"_index\":6,\"name\":{\"6\":{},\"35\":{},\"126\":{},\"158\":{},\"182\":{},\"195\":{}},\"comment\":{}}],[\"poolemitter\",{\"_index\":47,\"name\":{\"85\":{}},\"comment\":{}}],[\"poolevent\",{\"_index\":49,\"name\":{\"95\":{}},\"comment\":{}}],[\"poolevents\",{\"_index\":45,\"name\":{\"76\":{}},\"comment\":{}}],[\"pooloptions\",{\"_index\":48,\"name\":{\"86\":{}},\"comment\":{}}],[\"promiseresponsemap\",{\"_index\":16,\"name\":{\"16\":{},\"48\":{},\"122\":{},\"154\":{}},\"comment\":{}}],[\"registerworkermessagelistener\",{\"_index\":11,\"name\":{\"11\":{},\"40\":{},\"117\":{},\"146\":{}},\"comment\":{}}],[\"run\",{\"_index\":64,\"name\":{\"186\":{},\"200\":{}},\"comment\":{}}],[\"runasync\",{\"_index\":65,\"name\":{\"187\":{},\"201\":{}},\"comment\":{}}],[\"sendtomainworker\",{\"_index\":56,\"name\":{\"176\":{},\"190\":{}},\"comment\":{}}],[\"sendtoworker\",{\"_index\":10,\"name\":{\"10\":{},\"39\":{},\"116\":{},\"145\":{}},\"comment\":{}}],[\"settings\",{\"_index\":36,\"name\":{\"67\":{}},\"comment\":{}}],[\"setuphook\",{\"_index\":7,\"name\":{\"7\":{},\"36\":{},\"134\":{},\"166\":{}},\"comment\":{}}],[\"setworkerchoicestrategy\",{\"_index\":22,\"name\":{\"22\":{},\"54\":{},\"83\":{},\"129\":{},\"161\":{}},\"comment\":{}}],[\"threadworker\",{\"_index\":66,\"name\":{\"188\":{}},\"comment\":{}}],[\"threadworkerwithmessagechannel\",{\"_index\":54,\"name\":{\"173\":{}},\"comment\":{}}],[\"type\",{\"_index\":3,\"name\":{\"3\":{},\"43\":{},\"111\":{},\"149\":{}},\"comment\":{}}],[\"workerchoicestrategies\",{\"_index\":50,\"name\":{\"104\":{}},\"comment\":{}}],[\"workerchoicestrategy\",{\"_index\":41,\"name\":{\"72\":{},\"91\":{},\"105\":{}},\"comment\":{}}],[\"workerchoicestrategycontext\",{\"_index\":17,\"name\":{\"17\":{},\"49\":{},\"123\":{},\"155\":{}},\"comment\":{}}],[\"workerchoicestrategyoptions\",{\"_index\":42,\"name\":{\"73\":{},\"92\":{},\"106\":{}},\"comment\":{}}],[\"workerlistener\",{\"_index\":31,\"name\":{\"31\":{},\"63\":{},\"139\":{},\"171\":{}},\"comment\":{}}],[\"workernodes\",{\"_index\":14,\"name\":{\"14\":{},\"46\":{},\"120\":{},\"152\":{}},\"comment\":{}}],[\"workeroptions\",{\"_index\":69,\"name\":{\"204\":{}},\"comment\":{}}]],\"pipeline\":[]}}"); \ No newline at end of file +window.searchData = JSON.parse("{\"rows\":[{\"kind\":128,\"name\":\"DynamicClusterPool\",\"url\":\"classes/DynamicClusterPool.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/DynamicClusterPool.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"DynamicClusterPool\"},{\"kind\":1024,\"name\":\"max\",\"url\":\"classes/DynamicClusterPool.html#max\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"DynamicClusterPool\"},{\"kind\":262144,\"name\":\"type\",\"url\":\"classes/DynamicClusterPool.html#type\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"DynamicClusterPool\"},{\"kind\":262144,\"name\":\"full\",\"url\":\"classes/DynamicClusterPool.html#full\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"DynamicClusterPool\"},{\"kind\":262144,\"name\":\"busy\",\"url\":\"classes/DynamicClusterPool.html#busy\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"DynamicClusterPool\"},{\"kind\":1024,\"name\":\"opts\",\"url\":\"classes/DynamicClusterPool.html#opts\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"setupHook\",\"url\":\"classes/DynamicClusterPool.html#setupHook\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"isMain\",\"url\":\"classes/DynamicClusterPool.html#isMain\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"destroyWorker\",\"url\":\"classes/DynamicClusterPool.html#destroyWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"sendToWorker\",\"url\":\"classes/DynamicClusterPool.html#sendToWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"registerWorkerMessageListener\",\"url\":\"classes/DynamicClusterPool.html#registerWorkerMessageListener\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"createWorker\",\"url\":\"classes/DynamicClusterPool.html#createWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"afterWorkerSetup\",\"url\":\"classes/DynamicClusterPool.html#afterWorkerSetup\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":1024,\"name\":\"workerNodes\",\"url\":\"classes/DynamicClusterPool.html#workerNodes\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":1024,\"name\":\"emitter\",\"url\":\"classes/DynamicClusterPool.html#emitter\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":1024,\"name\":\"promiseResponseMap\",\"url\":\"classes/DynamicClusterPool.html#promiseResponseMap\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":1024,\"name\":\"workerChoiceStrategyContext\",\"url\":\"classes/DynamicClusterPool.html#workerChoiceStrategyContext\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":1024,\"name\":\"numberOfWorkers\",\"url\":\"classes/DynamicClusterPool.html#numberOfWorkers\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":1024,\"name\":\"filePath\",\"url\":\"classes/DynamicClusterPool.html#filePath\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":262144,\"name\":\"numberOfRunningTasks\",\"url\":\"classes/DynamicClusterPool.html#numberOfRunningTasks\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class tsd-is-private tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":262144,\"name\":\"numberOfQueuedTasks\",\"url\":\"classes/DynamicClusterPool.html#numberOfQueuedTasks\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class tsd-is-private tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"setWorkerChoiceStrategy\",\"url\":\"classes/DynamicClusterPool.html#setWorkerChoiceStrategy\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"internalBusy\",\"url\":\"classes/DynamicClusterPool.html#internalBusy\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"findFreeWorkerNodeKey\",\"url\":\"classes/DynamicClusterPool.html#findFreeWorkerNodeKey\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"execute\",\"url\":\"classes/DynamicClusterPool.html#execute\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"destroy\",\"url\":\"classes/DynamicClusterPool.html#destroy\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"beforeTaskExecutionHook\",\"url\":\"classes/DynamicClusterPool.html#beforeTaskExecutionHook\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"afterTaskExecutionHook\",\"url\":\"classes/DynamicClusterPool.html#afterTaskExecutionHook\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"chooseWorkerNode\",\"url\":\"classes/DynamicClusterPool.html#chooseWorkerNode\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"createAndSetupWorker\",\"url\":\"classes/DynamicClusterPool.html#createAndSetupWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"workerListener\",\"url\":\"classes/DynamicClusterPool.html#workerListener\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/DynamicClusterPool.html#workerListener.workerListener-1.__type\",\"classes\":\"tsd-kind-type-literal\",\"parent\":\"DynamicClusterPool.workerListener.workerListener\"},{\"kind\":128,\"name\":\"FixedClusterPool\",\"url\":\"classes/FixedClusterPool.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/FixedClusterPool.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"FixedClusterPool\"},{\"kind\":1024,\"name\":\"opts\",\"url\":\"classes/FixedClusterPool.html#opts\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"setupHook\",\"url\":\"classes/FixedClusterPool.html#setupHook\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"isMain\",\"url\":\"classes/FixedClusterPool.html#isMain\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"destroyWorker\",\"url\":\"classes/FixedClusterPool.html#destroyWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"sendToWorker\",\"url\":\"classes/FixedClusterPool.html#sendToWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"registerWorkerMessageListener\",\"url\":\"classes/FixedClusterPool.html#registerWorkerMessageListener\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"createWorker\",\"url\":\"classes/FixedClusterPool.html#createWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"afterWorkerSetup\",\"url\":\"classes/FixedClusterPool.html#afterWorkerSetup\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"FixedClusterPool\"},{\"kind\":262144,\"name\":\"type\",\"url\":\"classes/FixedClusterPool.html#type\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"FixedClusterPool\"},{\"kind\":262144,\"name\":\"full\",\"url\":\"classes/FixedClusterPool.html#full\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"FixedClusterPool\"},{\"kind\":262144,\"name\":\"busy\",\"url\":\"classes/FixedClusterPool.html#busy\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"FixedClusterPool\"},{\"kind\":1024,\"name\":\"workerNodes\",\"url\":\"classes/FixedClusterPool.html#workerNodes\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":1024,\"name\":\"emitter\",\"url\":\"classes/FixedClusterPool.html#emitter\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":1024,\"name\":\"promiseResponseMap\",\"url\":\"classes/FixedClusterPool.html#promiseResponseMap\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":1024,\"name\":\"workerChoiceStrategyContext\",\"url\":\"classes/FixedClusterPool.html#workerChoiceStrategyContext\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":1024,\"name\":\"numberOfWorkers\",\"url\":\"classes/FixedClusterPool.html#numberOfWorkers\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":1024,\"name\":\"filePath\",\"url\":\"classes/FixedClusterPool.html#filePath\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":262144,\"name\":\"numberOfRunningTasks\",\"url\":\"classes/FixedClusterPool.html#numberOfRunningTasks\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class tsd-is-private tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":262144,\"name\":\"numberOfQueuedTasks\",\"url\":\"classes/FixedClusterPool.html#numberOfQueuedTasks\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class tsd-is-private tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"setWorkerChoiceStrategy\",\"url\":\"classes/FixedClusterPool.html#setWorkerChoiceStrategy\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"internalBusy\",\"url\":\"classes/FixedClusterPool.html#internalBusy\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"findFreeWorkerNodeKey\",\"url\":\"classes/FixedClusterPool.html#findFreeWorkerNodeKey\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"execute\",\"url\":\"classes/FixedClusterPool.html#execute\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"destroy\",\"url\":\"classes/FixedClusterPool.html#destroy\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"beforeTaskExecutionHook\",\"url\":\"classes/FixedClusterPool.html#beforeTaskExecutionHook\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"afterTaskExecutionHook\",\"url\":\"classes/FixedClusterPool.html#afterTaskExecutionHook\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"chooseWorkerNode\",\"url\":\"classes/FixedClusterPool.html#chooseWorkerNode\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"createAndSetupWorker\",\"url\":\"classes/FixedClusterPool.html#createAndSetupWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"workerListener\",\"url\":\"classes/FixedClusterPool.html#workerListener\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/FixedClusterPool.html#workerListener.workerListener-1.__type\",\"classes\":\"tsd-kind-type-literal\",\"parent\":\"FixedClusterPool.workerListener.workerListener\"},{\"kind\":256,\"name\":\"ClusterPoolOptions\",\"url\":\"interfaces/ClusterPoolOptions.html\",\"classes\":\"tsd-kind-interface\"},{\"kind\":1024,\"name\":\"env\",\"url\":\"interfaces/ClusterPoolOptions.html#env\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":1024,\"name\":\"settings\",\"url\":\"interfaces/ClusterPoolOptions.html#settings\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":1024,\"name\":\"messageHandler\",\"url\":\"interfaces/ClusterPoolOptions.html#messageHandler\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":1024,\"name\":\"errorHandler\",\"url\":\"interfaces/ClusterPoolOptions.html#errorHandler\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":1024,\"name\":\"onlineHandler\",\"url\":\"interfaces/ClusterPoolOptions.html#onlineHandler\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":1024,\"name\":\"exitHandler\",\"url\":\"interfaces/ClusterPoolOptions.html#exitHandler\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":1024,\"name\":\"workerChoiceStrategy\",\"url\":\"interfaces/ClusterPoolOptions.html#workerChoiceStrategy\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":1024,\"name\":\"workerChoiceStrategyOptions\",\"url\":\"interfaces/ClusterPoolOptions.html#workerChoiceStrategyOptions\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":1024,\"name\":\"enableEvents\",\"url\":\"interfaces/ClusterPoolOptions.html#enableEvents\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":1024,\"name\":\"enableTasksQueue\",\"url\":\"interfaces/ClusterPoolOptions.html#enableTasksQueue\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":1024,\"name\":\"tasksQueueOptions\",\"url\":\"interfaces/ClusterPoolOptions.html#tasksQueueOptions\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":32,\"name\":\"PoolEvents\",\"url\":\"variables/PoolEvents.html\",\"classes\":\"tsd-kind-variable\"},{\"kind\":256,\"name\":\"IPool\",\"url\":\"interfaces/IPool.html\",\"classes\":\"tsd-kind-interface\"},{\"kind\":1024,\"name\":\"emitter\",\"url\":\"interfaces/IPool.html#emitter\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"IPool\"},{\"kind\":1024,\"name\":\"execute\",\"url\":\"interfaces/IPool.html#execute\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"IPool\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/IPool.html#execute.__type-2\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-property\",\"parent\":\"IPool.execute\"},{\"kind\":1024,\"name\":\"destroy\",\"url\":\"interfaces/IPool.html#destroy\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"IPool\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/IPool.html#destroy.__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-property\",\"parent\":\"IPool.destroy\"},{\"kind\":1024,\"name\":\"setWorkerChoiceStrategy\",\"url\":\"interfaces/IPool.html#setWorkerChoiceStrategy\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"IPool\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/IPool.html#setWorkerChoiceStrategy.__type-4\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-property\",\"parent\":\"IPool.setWorkerChoiceStrategy\"},{\"kind\":128,\"name\":\"PoolEmitter\",\"url\":\"classes/PoolEmitter.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":256,\"name\":\"PoolOptions\",\"url\":\"interfaces/PoolOptions.html\",\"classes\":\"tsd-kind-interface\"},{\"kind\":1024,\"name\":\"messageHandler\",\"url\":\"interfaces/PoolOptions.html#messageHandler\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"PoolOptions\"},{\"kind\":1024,\"name\":\"errorHandler\",\"url\":\"interfaces/PoolOptions.html#errorHandler\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"PoolOptions\"},{\"kind\":1024,\"name\":\"onlineHandler\",\"url\":\"interfaces/PoolOptions.html#onlineHandler\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"PoolOptions\"},{\"kind\":1024,\"name\":\"exitHandler\",\"url\":\"interfaces/PoolOptions.html#exitHandler\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"PoolOptions\"},{\"kind\":1024,\"name\":\"workerChoiceStrategy\",\"url\":\"interfaces/PoolOptions.html#workerChoiceStrategy\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"PoolOptions\"},{\"kind\":1024,\"name\":\"workerChoiceStrategyOptions\",\"url\":\"interfaces/PoolOptions.html#workerChoiceStrategyOptions\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"PoolOptions\"},{\"kind\":1024,\"name\":\"enableEvents\",\"url\":\"interfaces/PoolOptions.html#enableEvents\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"PoolOptions\"},{\"kind\":1024,\"name\":\"enableTasksQueue\",\"url\":\"interfaces/PoolOptions.html#enableTasksQueue\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"PoolOptions\"},{\"kind\":1024,\"name\":\"tasksQueueOptions\",\"url\":\"interfaces/PoolOptions.html#tasksQueueOptions\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"PoolOptions\"},{\"kind\":4194304,\"name\":\"PoolEvent\",\"url\":\"types/PoolEvent.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":4194304,\"name\":\"ErrorHandler\",\"url\":\"types/ErrorHandler.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/ErrorHandler.html#__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"ErrorHandler\"},{\"kind\":4194304,\"name\":\"ExitHandler\",\"url\":\"types/ExitHandler.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/ExitHandler.html#__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"ExitHandler\"},{\"kind\":4194304,\"name\":\"MessageHandler\",\"url\":\"types/MessageHandler.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/MessageHandler.html#__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"MessageHandler\"},{\"kind\":4194304,\"name\":\"OnlineHandler\",\"url\":\"types/OnlineHandler.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/OnlineHandler.html#__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"OnlineHandler\"},{\"kind\":32,\"name\":\"WorkerChoiceStrategies\",\"url\":\"variables/WorkerChoiceStrategies.html\",\"classes\":\"tsd-kind-variable\"},{\"kind\":4194304,\"name\":\"WorkerChoiceStrategy\",\"url\":\"types/WorkerChoiceStrategy.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":256,\"name\":\"WorkerChoiceStrategyOptions\",\"url\":\"interfaces/WorkerChoiceStrategyOptions.html\",\"classes\":\"tsd-kind-interface\"},{\"kind\":1024,\"name\":\"medRunTime\",\"url\":\"interfaces/WorkerChoiceStrategyOptions.html#medRunTime\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"WorkerChoiceStrategyOptions\"},{\"kind\":128,\"name\":\"DynamicThreadPool\",\"url\":\"classes/DynamicThreadPool.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/DynamicThreadPool.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"DynamicThreadPool\"},{\"kind\":1024,\"name\":\"max\",\"url\":\"classes/DynamicThreadPool.html#max\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"DynamicThreadPool\"},{\"kind\":262144,\"name\":\"type\",\"url\":\"classes/DynamicThreadPool.html#type\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"DynamicThreadPool\"},{\"kind\":262144,\"name\":\"full\",\"url\":\"classes/DynamicThreadPool.html#full\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"DynamicThreadPool\"},{\"kind\":262144,\"name\":\"busy\",\"url\":\"classes/DynamicThreadPool.html#busy\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"isMain\",\"url\":\"classes/DynamicThreadPool.html#isMain\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"destroyWorker\",\"url\":\"classes/DynamicThreadPool.html#destroyWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"sendToWorker\",\"url\":\"classes/DynamicThreadPool.html#sendToWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"registerWorkerMessageListener\",\"url\":\"classes/DynamicThreadPool.html#registerWorkerMessageListener\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"createWorker\",\"url\":\"classes/DynamicThreadPool.html#createWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"afterWorkerSetup\",\"url\":\"classes/DynamicThreadPool.html#afterWorkerSetup\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":1024,\"name\":\"workerNodes\",\"url\":\"classes/DynamicThreadPool.html#workerNodes\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":1024,\"name\":\"emitter\",\"url\":\"classes/DynamicThreadPool.html#emitter\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":1024,\"name\":\"promiseResponseMap\",\"url\":\"classes/DynamicThreadPool.html#promiseResponseMap\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":1024,\"name\":\"workerChoiceStrategyContext\",\"url\":\"classes/DynamicThreadPool.html#workerChoiceStrategyContext\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":1024,\"name\":\"numberOfWorkers\",\"url\":\"classes/DynamicThreadPool.html#numberOfWorkers\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":1024,\"name\":\"filePath\",\"url\":\"classes/DynamicThreadPool.html#filePath\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":1024,\"name\":\"opts\",\"url\":\"classes/DynamicThreadPool.html#opts\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":262144,\"name\":\"numberOfRunningTasks\",\"url\":\"classes/DynamicThreadPool.html#numberOfRunningTasks\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class tsd-is-private tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":262144,\"name\":\"numberOfQueuedTasks\",\"url\":\"classes/DynamicThreadPool.html#numberOfQueuedTasks\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class tsd-is-private tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"setWorkerChoiceStrategy\",\"url\":\"classes/DynamicThreadPool.html#setWorkerChoiceStrategy\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"internalBusy\",\"url\":\"classes/DynamicThreadPool.html#internalBusy\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"findFreeWorkerNodeKey\",\"url\":\"classes/DynamicThreadPool.html#findFreeWorkerNodeKey\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"execute\",\"url\":\"classes/DynamicThreadPool.html#execute\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"destroy\",\"url\":\"classes/DynamicThreadPool.html#destroy\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"setupHook\",\"url\":\"classes/DynamicThreadPool.html#setupHook\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"beforeTaskExecutionHook\",\"url\":\"classes/DynamicThreadPool.html#beforeTaskExecutionHook\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"afterTaskExecutionHook\",\"url\":\"classes/DynamicThreadPool.html#afterTaskExecutionHook\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"chooseWorkerNode\",\"url\":\"classes/DynamicThreadPool.html#chooseWorkerNode\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"createAndSetupWorker\",\"url\":\"classes/DynamicThreadPool.html#createAndSetupWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"workerListener\",\"url\":\"classes/DynamicThreadPool.html#workerListener\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/DynamicThreadPool.html#workerListener.workerListener-1.__type\",\"classes\":\"tsd-kind-type-literal\",\"parent\":\"DynamicThreadPool.workerListener.workerListener\"},{\"kind\":128,\"name\":\"FixedThreadPool\",\"url\":\"classes/FixedThreadPool.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/FixedThreadPool.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"isMain\",\"url\":\"classes/FixedThreadPool.html#isMain\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"destroyWorker\",\"url\":\"classes/FixedThreadPool.html#destroyWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"sendToWorker\",\"url\":\"classes/FixedThreadPool.html#sendToWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"registerWorkerMessageListener\",\"url\":\"classes/FixedThreadPool.html#registerWorkerMessageListener\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"createWorker\",\"url\":\"classes/FixedThreadPool.html#createWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"afterWorkerSetup\",\"url\":\"classes/FixedThreadPool.html#afterWorkerSetup\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"FixedThreadPool\"},{\"kind\":262144,\"name\":\"type\",\"url\":\"classes/FixedThreadPool.html#type\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"FixedThreadPool\"},{\"kind\":262144,\"name\":\"full\",\"url\":\"classes/FixedThreadPool.html#full\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"FixedThreadPool\"},{\"kind\":262144,\"name\":\"busy\",\"url\":\"classes/FixedThreadPool.html#busy\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"FixedThreadPool\"},{\"kind\":1024,\"name\":\"workerNodes\",\"url\":\"classes/FixedThreadPool.html#workerNodes\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":1024,\"name\":\"emitter\",\"url\":\"classes/FixedThreadPool.html#emitter\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":1024,\"name\":\"promiseResponseMap\",\"url\":\"classes/FixedThreadPool.html#promiseResponseMap\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":1024,\"name\":\"workerChoiceStrategyContext\",\"url\":\"classes/FixedThreadPool.html#workerChoiceStrategyContext\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":1024,\"name\":\"numberOfWorkers\",\"url\":\"classes/FixedThreadPool.html#numberOfWorkers\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":1024,\"name\":\"filePath\",\"url\":\"classes/FixedThreadPool.html#filePath\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":1024,\"name\":\"opts\",\"url\":\"classes/FixedThreadPool.html#opts\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":262144,\"name\":\"numberOfRunningTasks\",\"url\":\"classes/FixedThreadPool.html#numberOfRunningTasks\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class tsd-is-private tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":262144,\"name\":\"numberOfQueuedTasks\",\"url\":\"classes/FixedThreadPool.html#numberOfQueuedTasks\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class tsd-is-private tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"setWorkerChoiceStrategy\",\"url\":\"classes/FixedThreadPool.html#setWorkerChoiceStrategy\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"internalBusy\",\"url\":\"classes/FixedThreadPool.html#internalBusy\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"findFreeWorkerNodeKey\",\"url\":\"classes/FixedThreadPool.html#findFreeWorkerNodeKey\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"execute\",\"url\":\"classes/FixedThreadPool.html#execute\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"destroy\",\"url\":\"classes/FixedThreadPool.html#destroy\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"setupHook\",\"url\":\"classes/FixedThreadPool.html#setupHook\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"beforeTaskExecutionHook\",\"url\":\"classes/FixedThreadPool.html#beforeTaskExecutionHook\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"afterTaskExecutionHook\",\"url\":\"classes/FixedThreadPool.html#afterTaskExecutionHook\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"chooseWorkerNode\",\"url\":\"classes/FixedThreadPool.html#chooseWorkerNode\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"createAndSetupWorker\",\"url\":\"classes/FixedThreadPool.html#createAndSetupWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"workerListener\",\"url\":\"classes/FixedThreadPool.html#workerListener\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/FixedThreadPool.html#workerListener.workerListener-1.__type\",\"classes\":\"tsd-kind-type-literal\",\"parent\":\"FixedThreadPool.workerListener.workerListener\"},{\"kind\":4194304,\"name\":\"ThreadWorkerWithMessageChannel\",\"url\":\"types/ThreadWorkerWithMessageChannel.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":128,\"name\":\"ClusterWorker\",\"url\":\"classes/ClusterWorker.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/ClusterWorker.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"ClusterWorker\"},{\"kind\":2048,\"name\":\"sendToMainWorker\",\"url\":\"classes/ClusterWorker.html#sendToMainWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"ClusterWorker\"},{\"kind\":2048,\"name\":\"handleError\",\"url\":\"classes/ClusterWorker.html#handleError\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"ClusterWorker\"},{\"kind\":1024,\"name\":\"lastTaskTimestamp\",\"url\":\"classes/ClusterWorker.html#lastTaskTimestamp\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":1024,\"name\":\"aliveInterval\",\"url\":\"classes/ClusterWorker.html#aliveInterval\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":1024,\"name\":\"isMain\",\"url\":\"classes/ClusterWorker.html#isMain\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":1024,\"name\":\"mainWorker\",\"url\":\"classes/ClusterWorker.html#mainWorker\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":1024,\"name\":\"opts\",\"url\":\"classes/ClusterWorker.html#opts\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":2048,\"name\":\"messageListener\",\"url\":\"classes/ClusterWorker.html#messageListener\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":2048,\"name\":\"getMainWorker\",\"url\":\"classes/ClusterWorker.html#getMainWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":2048,\"name\":\"checkAlive\",\"url\":\"classes/ClusterWorker.html#checkAlive\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":2048,\"name\":\"run\",\"url\":\"classes/ClusterWorker.html#run\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":2048,\"name\":\"runAsync\",\"url\":\"classes/ClusterWorker.html#runAsync\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":128,\"name\":\"ThreadWorker\",\"url\":\"classes/ThreadWorker.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/ThreadWorker.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"ThreadWorker\"},{\"kind\":2048,\"name\":\"sendToMainWorker\",\"url\":\"classes/ThreadWorker.html#sendToMainWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"ThreadWorker\"},{\"kind\":1024,\"name\":\"lastTaskTimestamp\",\"url\":\"classes/ThreadWorker.html#lastTaskTimestamp\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":1024,\"name\":\"aliveInterval\",\"url\":\"classes/ThreadWorker.html#aliveInterval\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":1024,\"name\":\"isMain\",\"url\":\"classes/ThreadWorker.html#isMain\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":1024,\"name\":\"mainWorker\",\"url\":\"classes/ThreadWorker.html#mainWorker\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":1024,\"name\":\"opts\",\"url\":\"classes/ThreadWorker.html#opts\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":2048,\"name\":\"messageListener\",\"url\":\"classes/ThreadWorker.html#messageListener\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":2048,\"name\":\"getMainWorker\",\"url\":\"classes/ThreadWorker.html#getMainWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":2048,\"name\":\"checkAlive\",\"url\":\"classes/ThreadWorker.html#checkAlive\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":2048,\"name\":\"handleError\",\"url\":\"classes/ThreadWorker.html#handleError\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":2048,\"name\":\"run\",\"url\":\"classes/ThreadWorker.html#run\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":2048,\"name\":\"runAsync\",\"url\":\"classes/ThreadWorker.html#runAsync\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":32,\"name\":\"KillBehaviors\",\"url\":\"variables/KillBehaviors.html\",\"classes\":\"tsd-kind-variable\"},{\"kind\":4194304,\"name\":\"KillBehavior\",\"url\":\"types/KillBehavior.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":256,\"name\":\"WorkerOptions\",\"url\":\"interfaces/WorkerOptions.html\",\"classes\":\"tsd-kind-interface\"},{\"kind\":1024,\"name\":\"maxInactiveTime\",\"url\":\"interfaces/WorkerOptions.html#maxInactiveTime\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"WorkerOptions\"},{\"kind\":1024,\"name\":\"async\",\"url\":\"interfaces/WorkerOptions.html#async\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"WorkerOptions\"},{\"kind\":1024,\"name\":\"killBehavior\",\"url\":\"interfaces/WorkerOptions.html#killBehavior\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"WorkerOptions\"}],\"index\":{\"version\":\"2.3.9\",\"fields\":[\"name\",\"comment\"],\"fieldVectors\":[[\"name/0\",[0,49.464]],[\"comment/0\",[]],[\"name/1\",[1,34.801]],[\"comment/1\",[]],[\"name/2\",[2,44.356]],[\"comment/2\",[]],[\"name/3\",[3,38.478]],[\"comment/3\",[]],[\"name/4\",[4,38.478]],[\"comment/4\",[]],[\"name/5\",[5,38.478]],[\"comment/5\",[]],[\"name/6\",[6,34.801]],[\"comment/6\",[]],[\"name/7\",[7,38.478]],[\"comment/7\",[]],[\"name/8\",[8,34.801]],[\"comment/8\",[]],[\"name/9\",[9,38.478]],[\"comment/9\",[]],[\"name/10\",[10,38.478]],[\"comment/10\",[]],[\"name/11\",[11,38.478]],[\"comment/11\",[]],[\"name/12\",[12,38.478]],[\"comment/12\",[]],[\"name/13\",[13,38.478]],[\"comment/13\",[]],[\"name/14\",[14,38.478]],[\"comment/14\",[]],[\"name/15\",[15,36.471]],[\"comment/15\",[]],[\"name/16\",[16,38.478]],[\"comment/16\",[]],[\"name/17\",[17,38.478]],[\"comment/17\",[]],[\"name/18\",[18,38.478]],[\"comment/18\",[]],[\"name/19\",[19,38.478]],[\"comment/19\",[]],[\"name/20\",[20,38.478]],[\"comment/20\",[]],[\"name/21\",[21,38.478]],[\"comment/21\",[]],[\"name/22\",[22,36.471]],[\"comment/22\",[]],[\"name/23\",[23,38.478]],[\"comment/23\",[]],[\"name/24\",[24,38.478]],[\"comment/24\",[]],[\"name/25\",[25,36.471]],[\"comment/25\",[]],[\"name/26\",[26,36.471]],[\"comment/26\",[]],[\"name/27\",[27,38.478]],[\"comment/27\",[]],[\"name/28\",[28,38.478]],[\"comment/28\",[]],[\"name/29\",[29,38.478]],[\"comment/29\",[]],[\"name/30\",[30,38.478]],[\"comment/30\",[]],[\"name/31\",[31,38.478]],[\"comment/31\",[]],[\"name/32\",[32,29.095]],[\"comment/32\",[]],[\"name/33\",[33,49.464]],[\"comment/33\",[]],[\"name/34\",[1,34.801]],[\"comment/34\",[]],[\"name/35\",[6,34.801]],[\"comment/35\",[]],[\"name/36\",[7,38.478]],[\"comment/36\",[]],[\"name/37\",[8,34.801]],[\"comment/37\",[]],[\"name/38\",[9,38.478]],[\"comment/38\",[]],[\"name/39\",[10,38.478]],[\"comment/39\",[]],[\"name/40\",[11,38.478]],[\"comment/40\",[]],[\"name/41\",[12,38.478]],[\"comment/41\",[]],[\"name/42\",[13,38.478]],[\"comment/42\",[]],[\"name/43\",[3,38.478]],[\"comment/43\",[]],[\"name/44\",[4,38.478]],[\"comment/44\",[]],[\"name/45\",[5,38.478]],[\"comment/45\",[]],[\"name/46\",[14,38.478]],[\"comment/46\",[]],[\"name/47\",[15,36.471]],[\"comment/47\",[]],[\"name/48\",[16,38.478]],[\"comment/48\",[]],[\"name/49\",[17,38.478]],[\"comment/49\",[]],[\"name/50\",[18,38.478]],[\"comment/50\",[]],[\"name/51\",[19,38.478]],[\"comment/51\",[]],[\"name/52\",[20,38.478]],[\"comment/52\",[]],[\"name/53\",[21,38.478]],[\"comment/53\",[]],[\"name/54\",[22,36.471]],[\"comment/54\",[]],[\"name/55\",[23,38.478]],[\"comment/55\",[]],[\"name/56\",[24,38.478]],[\"comment/56\",[]],[\"name/57\",[25,36.471]],[\"comment/57\",[]],[\"name/58\",[26,36.471]],[\"comment/58\",[]],[\"name/59\",[27,38.478]],[\"comment/59\",[]],[\"name/60\",[28,38.478]],[\"comment/60\",[]],[\"name/61\",[29,38.478]],[\"comment/61\",[]],[\"name/62\",[30,38.478]],[\"comment/62\",[]],[\"name/63\",[31,38.478]],[\"comment/63\",[]],[\"name/64\",[32,29.095]],[\"comment/64\",[]],[\"name/65\",[34,49.464]],[\"comment/65\",[]],[\"name/66\",[35,49.464]],[\"comment/66\",[]],[\"name/67\",[36,49.464]],[\"comment/67\",[]],[\"name/68\",[37,40.991]],[\"comment/68\",[]],[\"name/69\",[38,40.991]],[\"comment/69\",[]],[\"name/70\",[39,40.991]],[\"comment/70\",[]],[\"name/71\",[40,40.991]],[\"comment/71\",[]],[\"name/72\",[41,40.991]],[\"comment/72\",[]],[\"name/73\",[42,40.991]],[\"comment/73\",[]],[\"name/74\",[43,44.356]],[\"comment/74\",[]],[\"name/75\",[44,44.356]],[\"comment/75\",[]],[\"name/76\",[45,44.356]],[\"comment/76\",[]],[\"name/77\",[46,49.464]],[\"comment/77\",[]],[\"name/78\",[47,49.464]],[\"comment/78\",[]],[\"name/79\",[15,36.471]],[\"comment/79\",[]],[\"name/80\",[25,36.471]],[\"comment/80\",[]],[\"name/81\",[32,29.095]],[\"comment/81\",[]],[\"name/82\",[26,36.471]],[\"comment/82\",[]],[\"name/83\",[32,29.095]],[\"comment/83\",[]],[\"name/84\",[22,36.471]],[\"comment/84\",[]],[\"name/85\",[32,29.095]],[\"comment/85\",[]],[\"name/86\",[48,49.464]],[\"comment/86\",[]],[\"name/87\",[49,49.464]],[\"comment/87\",[]],[\"name/88\",[37,40.991]],[\"comment/88\",[]],[\"name/89\",[38,40.991]],[\"comment/89\",[]],[\"name/90\",[39,40.991]],[\"comment/90\",[]],[\"name/91\",[40,40.991]],[\"comment/91\",[]],[\"name/92\",[41,40.991]],[\"comment/92\",[]],[\"name/93\",[42,40.991]],[\"comment/93\",[]],[\"name/94\",[43,44.356]],[\"comment/94\",[]],[\"name/95\",[44,44.356]],[\"comment/95\",[]],[\"name/96\",[45,44.356]],[\"comment/96\",[]],[\"name/97\",[50,49.464]],[\"comment/97\",[]],[\"name/98\",[38,40.991]],[\"comment/98\",[]],[\"name/99\",[32,29.095]],[\"comment/99\",[]],[\"name/100\",[40,40.991]],[\"comment/100\",[]],[\"name/101\",[32,29.095]],[\"comment/101\",[]],[\"name/102\",[37,40.991]],[\"comment/102\",[]],[\"name/103\",[32,29.095]],[\"comment/103\",[]],[\"name/104\",[39,40.991]],[\"comment/104\",[]],[\"name/105\",[32,29.095]],[\"comment/105\",[]],[\"name/106\",[51,49.464]],[\"comment/106\",[]],[\"name/107\",[41,40.991]],[\"comment/107\",[]],[\"name/108\",[42,40.991]],[\"comment/108\",[]],[\"name/109\",[52,49.464]],[\"comment/109\",[]],[\"name/110\",[53,49.464]],[\"comment/110\",[]],[\"name/111\",[1,34.801]],[\"comment/111\",[]],[\"name/112\",[2,44.356]],[\"comment/112\",[]],[\"name/113\",[3,38.478]],[\"comment/113\",[]],[\"name/114\",[4,38.478]],[\"comment/114\",[]],[\"name/115\",[5,38.478]],[\"comment/115\",[]],[\"name/116\",[8,34.801]],[\"comment/116\",[]],[\"name/117\",[9,38.478]],[\"comment/117\",[]],[\"name/118\",[10,38.478]],[\"comment/118\",[]],[\"name/119\",[11,38.478]],[\"comment/119\",[]],[\"name/120\",[12,38.478]],[\"comment/120\",[]],[\"name/121\",[13,38.478]],[\"comment/121\",[]],[\"name/122\",[14,38.478]],[\"comment/122\",[]],[\"name/123\",[15,36.471]],[\"comment/123\",[]],[\"name/124\",[16,38.478]],[\"comment/124\",[]],[\"name/125\",[17,38.478]],[\"comment/125\",[]],[\"name/126\",[18,38.478]],[\"comment/126\",[]],[\"name/127\",[19,38.478]],[\"comment/127\",[]],[\"name/128\",[6,34.801]],[\"comment/128\",[]],[\"name/129\",[20,38.478]],[\"comment/129\",[]],[\"name/130\",[21,38.478]],[\"comment/130\",[]],[\"name/131\",[22,36.471]],[\"comment/131\",[]],[\"name/132\",[23,38.478]],[\"comment/132\",[]],[\"name/133\",[24,38.478]],[\"comment/133\",[]],[\"name/134\",[25,36.471]],[\"comment/134\",[]],[\"name/135\",[26,36.471]],[\"comment/135\",[]],[\"name/136\",[7,38.478]],[\"comment/136\",[]],[\"name/137\",[27,38.478]],[\"comment/137\",[]],[\"name/138\",[28,38.478]],[\"comment/138\",[]],[\"name/139\",[29,38.478]],[\"comment/139\",[]],[\"name/140\",[30,38.478]],[\"comment/140\",[]],[\"name/141\",[31,38.478]],[\"comment/141\",[]],[\"name/142\",[32,29.095]],[\"comment/142\",[]],[\"name/143\",[54,49.464]],[\"comment/143\",[]],[\"name/144\",[1,34.801]],[\"comment/144\",[]],[\"name/145\",[8,34.801]],[\"comment/145\",[]],[\"name/146\",[9,38.478]],[\"comment/146\",[]],[\"name/147\",[10,38.478]],[\"comment/147\",[]],[\"name/148\",[11,38.478]],[\"comment/148\",[]],[\"name/149\",[12,38.478]],[\"comment/149\",[]],[\"name/150\",[13,38.478]],[\"comment/150\",[]],[\"name/151\",[3,38.478]],[\"comment/151\",[]],[\"name/152\",[4,38.478]],[\"comment/152\",[]],[\"name/153\",[5,38.478]],[\"comment/153\",[]],[\"name/154\",[14,38.478]],[\"comment/154\",[]],[\"name/155\",[15,36.471]],[\"comment/155\",[]],[\"name/156\",[16,38.478]],[\"comment/156\",[]],[\"name/157\",[17,38.478]],[\"comment/157\",[]],[\"name/158\",[18,38.478]],[\"comment/158\",[]],[\"name/159\",[19,38.478]],[\"comment/159\",[]],[\"name/160\",[6,34.801]],[\"comment/160\",[]],[\"name/161\",[20,38.478]],[\"comment/161\",[]],[\"name/162\",[21,38.478]],[\"comment/162\",[]],[\"name/163\",[22,36.471]],[\"comment/163\",[]],[\"name/164\",[23,38.478]],[\"comment/164\",[]],[\"name/165\",[24,38.478]],[\"comment/165\",[]],[\"name/166\",[25,36.471]],[\"comment/166\",[]],[\"name/167\",[26,36.471]],[\"comment/167\",[]],[\"name/168\",[7,38.478]],[\"comment/168\",[]],[\"name/169\",[27,38.478]],[\"comment/169\",[]],[\"name/170\",[28,38.478]],[\"comment/170\",[]],[\"name/171\",[29,38.478]],[\"comment/171\",[]],[\"name/172\",[30,38.478]],[\"comment/172\",[]],[\"name/173\",[31,38.478]],[\"comment/173\",[]],[\"name/174\",[32,29.095]],[\"comment/174\",[]],[\"name/175\",[55,49.464]],[\"comment/175\",[]],[\"name/176\",[56,49.464]],[\"comment/176\",[]],[\"name/177\",[1,34.801]],[\"comment/177\",[]],[\"name/178\",[57,44.356]],[\"comment/178\",[]],[\"name/179\",[58,44.356]],[\"comment/179\",[]],[\"name/180\",[59,44.356]],[\"comment/180\",[]],[\"name/181\",[60,44.356]],[\"comment/181\",[]],[\"name/182\",[8,34.801]],[\"comment/182\",[]],[\"name/183\",[61,44.356]],[\"comment/183\",[]],[\"name/184\",[6,34.801]],[\"comment/184\",[]],[\"name/185\",[62,44.356]],[\"comment/185\",[]],[\"name/186\",[63,44.356]],[\"comment/186\",[]],[\"name/187\",[64,44.356]],[\"comment/187\",[]],[\"name/188\",[65,44.356]],[\"comment/188\",[]],[\"name/189\",[66,44.356]],[\"comment/189\",[]],[\"name/190\",[67,49.464]],[\"comment/190\",[]],[\"name/191\",[1,34.801]],[\"comment/191\",[]],[\"name/192\",[57,44.356]],[\"comment/192\",[]],[\"name/193\",[59,44.356]],[\"comment/193\",[]],[\"name/194\",[60,44.356]],[\"comment/194\",[]],[\"name/195\",[8,34.801]],[\"comment/195\",[]],[\"name/196\",[61,44.356]],[\"comment/196\",[]],[\"name/197\",[6,34.801]],[\"comment/197\",[]],[\"name/198\",[62,44.356]],[\"comment/198\",[]],[\"name/199\",[63,44.356]],[\"comment/199\",[]],[\"name/200\",[64,44.356]],[\"comment/200\",[]],[\"name/201\",[58,44.356]],[\"comment/201\",[]],[\"name/202\",[65,44.356]],[\"comment/202\",[]],[\"name/203\",[66,44.356]],[\"comment/203\",[]],[\"name/204\",[68,49.464]],[\"comment/204\",[]],[\"name/205\",[69,44.356]],[\"comment/205\",[]],[\"name/206\",[70,49.464]],[\"comment/206\",[]],[\"name/207\",[71,49.464]],[\"comment/207\",[]],[\"name/208\",[72,49.464]],[\"comment/208\",[]],[\"name/209\",[69,44.356]],[\"comment/209\",[]]],\"invertedIndex\":[[\"__type\",{\"_index\":32,\"name\":{\"32\":{},\"64\":{},\"81\":{},\"83\":{},\"85\":{},\"99\":{},\"101\":{},\"103\":{},\"105\":{},\"142\":{},\"174\":{}},\"comment\":{}}],[\"aftertaskexecutionhook\",{\"_index\":28,\"name\":{\"28\":{},\"60\":{},\"138\":{},\"170\":{}},\"comment\":{}}],[\"afterworkersetup\",{\"_index\":13,\"name\":{\"13\":{},\"42\":{},\"121\":{},\"150\":{}},\"comment\":{}}],[\"aliveinterval\",{\"_index\":60,\"name\":{\"181\":{},\"194\":{}},\"comment\":{}}],[\"async\",{\"_index\":72,\"name\":{\"208\":{}},\"comment\":{}}],[\"beforetaskexecutionhook\",{\"_index\":27,\"name\":{\"27\":{},\"59\":{},\"137\":{},\"169\":{}},\"comment\":{}}],[\"busy\",{\"_index\":5,\"name\":{\"5\":{},\"45\":{},\"115\":{},\"153\":{}},\"comment\":{}}],[\"checkalive\",{\"_index\":64,\"name\":{\"187\":{},\"200\":{}},\"comment\":{}}],[\"chooseworkernode\",{\"_index\":29,\"name\":{\"29\":{},\"61\":{},\"139\":{},\"171\":{}},\"comment\":{}}],[\"clusterpooloptions\",{\"_index\":34,\"name\":{\"65\":{}},\"comment\":{}}],[\"clusterworker\",{\"_index\":56,\"name\":{\"176\":{}},\"comment\":{}}],[\"constructor\",{\"_index\":1,\"name\":{\"1\":{},\"34\":{},\"111\":{},\"144\":{},\"177\":{},\"191\":{}},\"comment\":{}}],[\"createandsetupworker\",{\"_index\":30,\"name\":{\"30\":{},\"62\":{},\"140\":{},\"172\":{}},\"comment\":{}}],[\"createworker\",{\"_index\":12,\"name\":{\"12\":{},\"41\":{},\"120\":{},\"149\":{}},\"comment\":{}}],[\"destroy\",{\"_index\":26,\"name\":{\"26\":{},\"58\":{},\"82\":{},\"135\":{},\"167\":{}},\"comment\":{}}],[\"destroyworker\",{\"_index\":9,\"name\":{\"9\":{},\"38\":{},\"117\":{},\"146\":{}},\"comment\":{}}],[\"dynamicclusterpool\",{\"_index\":0,\"name\":{\"0\":{}},\"comment\":{}}],[\"dynamicthreadpool\",{\"_index\":53,\"name\":{\"110\":{}},\"comment\":{}}],[\"emitter\",{\"_index\":15,\"name\":{\"15\":{},\"47\":{},\"79\":{},\"123\":{},\"155\":{}},\"comment\":{}}],[\"enableevents\",{\"_index\":43,\"name\":{\"74\":{},\"94\":{}},\"comment\":{}}],[\"enabletasksqueue\",{\"_index\":44,\"name\":{\"75\":{},\"95\":{}},\"comment\":{}}],[\"env\",{\"_index\":35,\"name\":{\"66\":{}},\"comment\":{}}],[\"errorhandler\",{\"_index\":38,\"name\":{\"69\":{},\"89\":{},\"98\":{}},\"comment\":{}}],[\"execute\",{\"_index\":25,\"name\":{\"25\":{},\"57\":{},\"80\":{},\"134\":{},\"166\":{}},\"comment\":{}}],[\"exithandler\",{\"_index\":40,\"name\":{\"71\":{},\"91\":{},\"100\":{}},\"comment\":{}}],[\"filepath\",{\"_index\":19,\"name\":{\"19\":{},\"51\":{},\"127\":{},\"159\":{}},\"comment\":{}}],[\"findfreeworkernodekey\",{\"_index\":24,\"name\":{\"24\":{},\"56\":{},\"133\":{},\"165\":{}},\"comment\":{}}],[\"fixedclusterpool\",{\"_index\":33,\"name\":{\"33\":{}},\"comment\":{}}],[\"fixedthreadpool\",{\"_index\":54,\"name\":{\"143\":{}},\"comment\":{}}],[\"full\",{\"_index\":4,\"name\":{\"4\":{},\"44\":{},\"114\":{},\"152\":{}},\"comment\":{}}],[\"getmainworker\",{\"_index\":63,\"name\":{\"186\":{},\"199\":{}},\"comment\":{}}],[\"handleerror\",{\"_index\":58,\"name\":{\"179\":{},\"201\":{}},\"comment\":{}}],[\"internalbusy\",{\"_index\":23,\"name\":{\"23\":{},\"55\":{},\"132\":{},\"164\":{}},\"comment\":{}}],[\"ipool\",{\"_index\":47,\"name\":{\"78\":{}},\"comment\":{}}],[\"ismain\",{\"_index\":8,\"name\":{\"8\":{},\"37\":{},\"116\":{},\"145\":{},\"182\":{},\"195\":{}},\"comment\":{}}],[\"killbehavior\",{\"_index\":69,\"name\":{\"205\":{},\"209\":{}},\"comment\":{}}],[\"killbehaviors\",{\"_index\":68,\"name\":{\"204\":{}},\"comment\":{}}],[\"lasttasktimestamp\",{\"_index\":59,\"name\":{\"180\":{},\"193\":{}},\"comment\":{}}],[\"mainworker\",{\"_index\":61,\"name\":{\"183\":{},\"196\":{}},\"comment\":{}}],[\"max\",{\"_index\":2,\"name\":{\"2\":{},\"112\":{}},\"comment\":{}}],[\"maxinactivetime\",{\"_index\":71,\"name\":{\"207\":{}},\"comment\":{}}],[\"medruntime\",{\"_index\":52,\"name\":{\"109\":{}},\"comment\":{}}],[\"messagehandler\",{\"_index\":37,\"name\":{\"68\":{},\"88\":{},\"102\":{}},\"comment\":{}}],[\"messagelistener\",{\"_index\":62,\"name\":{\"185\":{},\"198\":{}},\"comment\":{}}],[\"numberofqueuedtasks\",{\"_index\":21,\"name\":{\"21\":{},\"53\":{},\"130\":{},\"162\":{}},\"comment\":{}}],[\"numberofrunningtasks\",{\"_index\":20,\"name\":{\"20\":{},\"52\":{},\"129\":{},\"161\":{}},\"comment\":{}}],[\"numberofworkers\",{\"_index\":18,\"name\":{\"18\":{},\"50\":{},\"126\":{},\"158\":{}},\"comment\":{}}],[\"onlinehandler\",{\"_index\":39,\"name\":{\"70\":{},\"90\":{},\"104\":{}},\"comment\":{}}],[\"opts\",{\"_index\":6,\"name\":{\"6\":{},\"35\":{},\"128\":{},\"160\":{},\"184\":{},\"197\":{}},\"comment\":{}}],[\"poolemitter\",{\"_index\":48,\"name\":{\"86\":{}},\"comment\":{}}],[\"poolevent\",{\"_index\":50,\"name\":{\"97\":{}},\"comment\":{}}],[\"poolevents\",{\"_index\":46,\"name\":{\"77\":{}},\"comment\":{}}],[\"pooloptions\",{\"_index\":49,\"name\":{\"87\":{}},\"comment\":{}}],[\"promiseresponsemap\",{\"_index\":16,\"name\":{\"16\":{},\"48\":{},\"124\":{},\"156\":{}},\"comment\":{}}],[\"registerworkermessagelistener\",{\"_index\":11,\"name\":{\"11\":{},\"40\":{},\"119\":{},\"148\":{}},\"comment\":{}}],[\"run\",{\"_index\":65,\"name\":{\"188\":{},\"202\":{}},\"comment\":{}}],[\"runasync\",{\"_index\":66,\"name\":{\"189\":{},\"203\":{}},\"comment\":{}}],[\"sendtomainworker\",{\"_index\":57,\"name\":{\"178\":{},\"192\":{}},\"comment\":{}}],[\"sendtoworker\",{\"_index\":10,\"name\":{\"10\":{},\"39\":{},\"118\":{},\"147\":{}},\"comment\":{}}],[\"settings\",{\"_index\":36,\"name\":{\"67\":{}},\"comment\":{}}],[\"setuphook\",{\"_index\":7,\"name\":{\"7\":{},\"36\":{},\"136\":{},\"168\":{}},\"comment\":{}}],[\"setworkerchoicestrategy\",{\"_index\":22,\"name\":{\"22\":{},\"54\":{},\"84\":{},\"131\":{},\"163\":{}},\"comment\":{}}],[\"tasksqueueoptions\",{\"_index\":45,\"name\":{\"76\":{},\"96\":{}},\"comment\":{}}],[\"threadworker\",{\"_index\":67,\"name\":{\"190\":{}},\"comment\":{}}],[\"threadworkerwithmessagechannel\",{\"_index\":55,\"name\":{\"175\":{}},\"comment\":{}}],[\"type\",{\"_index\":3,\"name\":{\"3\":{},\"43\":{},\"113\":{},\"151\":{}},\"comment\":{}}],[\"workerchoicestrategies\",{\"_index\":51,\"name\":{\"106\":{}},\"comment\":{}}],[\"workerchoicestrategy\",{\"_index\":41,\"name\":{\"72\":{},\"92\":{},\"107\":{}},\"comment\":{}}],[\"workerchoicestrategycontext\",{\"_index\":17,\"name\":{\"17\":{},\"49\":{},\"125\":{},\"157\":{}},\"comment\":{}}],[\"workerchoicestrategyoptions\",{\"_index\":42,\"name\":{\"73\":{},\"93\":{},\"108\":{}},\"comment\":{}}],[\"workerlistener\",{\"_index\":31,\"name\":{\"31\":{},\"63\":{},\"141\":{},\"173\":{}},\"comment\":{}}],[\"workernodes\",{\"_index\":14,\"name\":{\"14\":{},\"46\":{},\"122\":{},\"154\":{}},\"comment\":{}}],[\"workeroptions\",{\"_index\":70,\"name\":{\"206\":{}},\"comment\":{}}]],\"pipeline\":[]}}"); \ No newline at end of file diff --git a/docs/assets/style.css b/docs/assets/style.css index 496e66f2..0db60927 100644 --- a/docs/assets/style.css +++ b/docs/assets/style.css @@ -208,26 +208,10 @@ dd { } .container { - max-width: 1600px; + max-width: 1700px; padding: 0 2rem; } -@media (min-width: 640px) { - .container { - padding: 0 4rem; - } -} -@media (min-width: 1200px) { - .container { - padding: 0 8rem; - } -} -@media (min-width: 1600px) { - .container { - padding: 0 12rem; - } -} - /* Footer */ .tsd-generator { border-top: 1px solid var(--color-accent); @@ -243,26 +227,9 @@ dd { } .container-main { - display: flex; - justify-content: space-between; - position: relative; margin: 0 auto; -} - -.col-4, -.col-8 { - box-sizing: border-box; - float: left; - padding: 2rem 1rem; -} - -.col-4 { - flex: 0 0 25%; -} -.col-8 { - flex: 1 0; - flex-wrap: wrap; - padding-left: 0; + /* toolbar, footer, margin */ + min-height: calc(100vh - 41px - 56px - 4rem); } @keyframes fade-in { @@ -305,22 +272,6 @@ dd { opacity: 0; } } -@keyframes shift-to-left { - from { - transform: translate(0, 0); - } - to { - transform: translate(-25%, 0); - } -} -@keyframes unshift-to-left { - from { - transform: translate(-25%, 0); - } - to { - transform: translate(0, 0); - } -} @keyframes pop-in-from-right { from { transform: translate(100%, 0); @@ -409,91 +360,6 @@ blockquote { margin: 1em 0; } -@media (max-width: 1024px) { - html .col-content { - float: none; - max-width: 100%; - width: 100%; - padding-top: 3rem; - } - html .col-menu { - position: fixed !important; - overflow-y: auto; - -webkit-overflow-scrolling: touch; - z-index: 1024; - top: 0 !important; - bottom: 0 !important; - left: auto !important; - right: 0 !important; - padding: 1.5rem 1.5rem 0 0; - max-width: 25rem; - visibility: hidden; - background-color: var(--color-background); - transform: translate(100%, 0); - } - html .col-menu > *:last-child { - padding-bottom: 20px; - } - html .overlay { - content: ""; - display: block; - position: fixed; - z-index: 1023; - top: 0; - left: 0; - right: 0; - bottom: 0; - background-color: rgba(0, 0, 0, 0.75); - visibility: hidden; - } - - .to-has-menu .overlay { - animation: fade-in 0.4s; - } - - .to-has-menu :is(header, footer, .col-content) { - animation: shift-to-left 0.4s; - } - - .to-has-menu .col-menu { - animation: pop-in-from-right 0.4s; - } - - .from-has-menu .overlay { - animation: fade-out 0.4s; - } - - .from-has-menu :is(header, footer, .col-content) { - animation: unshift-to-left 0.4s; - } - - .from-has-menu .col-menu { - animation: pop-out-to-right 0.4s; - } - - .has-menu body { - overflow: hidden; - } - .has-menu .overlay { - visibility: visible; - } - .has-menu :is(header, footer, .col-content) { - transform: translate(-25%, 0); - } - .has-menu .col-menu { - visibility: visible; - transform: translate(0, 0); - display: flex; - flex-direction: column; - gap: 1.5rem; - max-height: 100vh; - padding: 1rem 2rem; - } - .has-menu .tsd-navigation { - max-height: 100%; - } -} - .tsd-breadcrumb { margin: 0; padding: 0; @@ -723,7 +589,7 @@ input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark { } .tsd-anchor { - position: absolute; + position: relative; top: -100px; } @@ -753,92 +619,58 @@ input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark { color: var(--color-ts-private); } -.tsd-navigation a { - display: block; - margin: 0.4rem 0; - border-left: 2px solid transparent; +.tsd-navigation.settings { + margin: 1rem 0; +} +.tsd-navigation a, +.tsd-page-navigation a { + display: inline-flex; + align-items: center; + padding: 0.25rem 0; color: var(--color-text); text-decoration: none; - transition: border-left-color 0.1s; } -.tsd-navigation a:hover { +.tsd-navigation a { + /* why 3rem? No idea, but it seems to work. */ + width: calc(100% - 3rem); +} +.tsd-page-navigation a { + /* why is this different? */ + width: 100%; +} +.tsd-navigation a.current, +.tsd-page-navigation a.current { + background: var(--color-accent); +} +.tsd-navigation a:hover, +.tsd-page-navigation a:hover { text-decoration: underline; } -.tsd-navigation ul { +.tsd-navigation ul, +.tsd-page-navigation ul { margin: 0; padding: 0; list-style: none; } -.tsd-navigation li { +.tsd-navigation li, +.tsd-page-navigation li { padding: 0; + max-width: 100%; } - -.tsd-navigation.primary .tsd-accordion-details > ul { - margin-top: 0.75rem; -} -.tsd-navigation.primary a { - padding: 0.75rem 0.5rem; - margin: 0; -} -.tsd-navigation.primary ul li a { - margin-left: 0.5rem; +.tsd-nested-navigation > li > a { + margin-left: 3rem; } -.tsd-navigation.primary ul li li a { +.tsd-nested-navigation > li > details { margin-left: 1.5rem; } -.tsd-navigation.primary ul li li li a { - margin-left: 2.5rem; -} -.tsd-navigation.primary ul li li li li a { - margin-left: 3.5rem; -} -.tsd-navigation.primary ul li li li li li a { - margin-left: 4.5rem; -} -.tsd-navigation.primary ul li li li li li li a { - margin-left: 5.5rem; -} -.tsd-navigation.primary li.current > a { - border-left: 0.15rem var(--color-text) solid; -} -.tsd-navigation.primary li.selected > a { - font-weight: bold; - border-left: 0.2rem var(--color-text) solid; -} -.tsd-navigation.primary ul li a:hover { - border-left: 0.2rem var(--color-text-aside) solid; -} -.tsd-navigation.primary li.globals + li > span, -.tsd-navigation.primary li.globals + li > a { - padding-top: 20px; -} - -.tsd-navigation.secondary.tsd-navigation--toolbar-hide { - max-height: calc(100vh - 1rem); - top: 0.5rem; -} -.tsd-navigation.secondary > ul { - display: inline; - padding-right: 0.5rem; - transition: opacity 0.2s; -} -.tsd-navigation.secondary ul li a { - padding-left: 0; -} -.tsd-navigation.secondary ul li li a { - padding-left: 1.1rem; -} -.tsd-navigation.secondary ul li li li a { - padding-left: 2.2rem; -} -.tsd-navigation.secondary ul li li li li a { - padding-left: 3.3rem; +.tsd-small-nested-navigation > li > a { + margin-left: 1.5rem; } -.tsd-navigation.secondary ul li li li li li a { - padding-left: 4.4rem; +.tsd-small-nested-navigation > li > details { + margin-left: 0; } -.tsd-navigation.secondary ul li li li li li li a { - padding-left: 5.5rem; +.tsd-page-navigation ul { + padding-left: 1.75rem; } #tsd-sidebar-links a { @@ -851,28 +683,21 @@ input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark { } a.tsd-index-link { - margin: 0.25rem 0; + padding: 0.25rem 0 !important; font-size: 1rem; line-height: 1.25rem; display: inline-flex; align-items: center; } -.tsd-accordion-summary > h1, -.tsd-accordion-summary > h2, -.tsd-accordion-summary > h3, -.tsd-accordion-summary > h4, -.tsd-accordion-summary > h5 { - display: inline-flex; - align-items: center; - vertical-align: middle; - margin-bottom: 0; +.tsd-accordion-summary, +.tsd-accordion-summary a { user-select: none; -moz-user-select: none; -webkit-user-select: none; -ms-user-select: none; -} -.tsd-accordion-summary { - display: block; + + display: flex; + align-items: center; cursor: pointer; } .tsd-accordion-summary > * { @@ -910,34 +735,6 @@ a.tsd-index-link { margin-right: 0.8rem; } -@media (min-width: 1025px) { - .col-content { - margin: 2rem auto; - } - - .menu-sticky-wrap { - position: sticky; - height: calc(100vh - 2rem); - top: 4rem; - right: 0; - padding: 0 1.5rem; - padding-top: 1rem; - margin-top: 3rem; - transition: 0.3s ease-in-out; - transition-property: top, padding-top, padding, height; - overflow-y: auto; - } - .col-menu { - border-left: 1px solid var(--color-accent); - } - .col-menu--hide { - top: 1rem; - } - .col-menu .tsd-navigation:not(:last-child) { - padding-bottom: 1.75rem; - } -} - .tsd-panel { margin-bottom: 2.5rem; } @@ -1143,7 +940,7 @@ ul.tsd-type-parameter-list h5 { } .tsd-page-toolbar { - position: fixed; + position: sticky; z-index: 1; top: 0; left: 0; @@ -1183,10 +980,6 @@ ul.tsd-type-parameter-list h5 { padding: 12px 0; } -.tsd-page-toolbar--hide { - transform: translateY(-100%); -} - .tsd-widget { display: inline-block; overflow: hidden; @@ -1214,12 +1007,6 @@ ul.tsd-type-parameter-list h5 { .tsd-widget.menu { display: none; } -@media (max-width: 1024px) { - .tsd-widget.options, - .tsd-widget.menu { - display: inline-block; - } -} input[type="checkbox"] + .tsd-widget:before { background-position: -120px 0; } @@ -1277,3 +1064,144 @@ img { border-radius: 999rem; border: 0.25rem solid var(--color-icon-background); } + +/* mobile */ +@media (max-width: 769px) { + .tsd-widget.options, + .tsd-widget.menu { + display: inline-block; + } + + .container-main { + display: flex; + } + html .col-content { + float: none; + max-width: 100%; + width: 100%; + } + html .col-sidebar { + position: fixed !important; + overflow-y: auto; + -webkit-overflow-scrolling: touch; + z-index: 1024; + top: 0 !important; + bottom: 0 !important; + left: auto !important; + right: 0 !important; + padding: 1.5rem 1.5rem 0 0; + width: 75vw; + visibility: hidden; + background-color: var(--color-background); + transform: translate(100%, 0); + } + html .col-sidebar > *:last-child { + padding-bottom: 20px; + } + html .overlay { + content: ""; + display: block; + position: fixed; + z-index: 1023; + top: 0; + left: 0; + right: 0; + bottom: 0; + background-color: rgba(0, 0, 0, 0.75); + visibility: hidden; + } + + .to-has-menu .overlay { + animation: fade-in 0.4s; + } + + .to-has-menu .col-sidebar { + animation: pop-in-from-right 0.4s; + } + + .from-has-menu .overlay { + animation: fade-out 0.4s; + } + + .from-has-menu .col-sidebar { + animation: pop-out-to-right 0.4s; + } + + .has-menu body { + overflow: hidden; + } + .has-menu .overlay { + visibility: visible; + } + .has-menu .col-sidebar { + visibility: visible; + transform: translate(0, 0); + display: flex; + flex-direction: column; + gap: 1.5rem; + max-height: 100vh; + padding: 1rem 2rem; + } + .has-menu .tsd-navigation { + max-height: 100%; + } +} + +/* one sidebar */ +@media (min-width: 770px) { + .container-main { + display: grid; + grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); + grid-template-areas: "sidebar content"; + margin: 2rem auto; + } + + .col-sidebar { + grid-area: sidebar; + } + .col-content { + grid-area: content; + padding: 0 1rem; + } +} +@media (min-width: 770px) and (max-width: 1399px) { + .col-sidebar { + max-height: calc(100vh - 2rem - 42px); + overflow: auto; + position: sticky; + top: 42px; + padding-top: 1rem; + } +} + +/* two sidebars */ +@media (min-width: 1200px) { + .container-main { + grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr) minmax(0, 20rem); + grid-template-areas: "sidebar content toc"; + } + + .col-sidebar { + display: contents; + } + + .page-menu { + grid-area: toc; + padding-left: 1rem; + } + .site-menu { + grid-area: sidebar; + } + + .site-menu { + margin-top: 1rem 0; + } + + .page-menu, + .site-menu { + max-height: calc(100vh - 2rem - 42px); + overflow: auto; + position: sticky; + top: 42px; + } +} diff --git a/docs/classes/ClusterWorker.html b/docs/classes/ClusterWorker.html index cd774363..335e4252 100644 --- a/docs/classes/ClusterWorker.html +++ b/docs/classes/ClusterWorker.html @@ -1,4 +1,4 @@ -ClusterWorker | poolifier
+ClusterWorker | poolifier
-
+
@@ -83,7 +83,7 @@ but the minimum number of workers will be guaranteed.

    - +
  • Constructs a new poolifier cluster worker.

    @@ -98,28 +98,28 @@ but the minimum number of workers will be guaranteed.

    Parameters

    • -
      fn: ((data: Data) => Response)
      +
      fn: ((data: Data) => Response)

      Function processed by the worker when the pool's execution function is invoked.

        • -
        • (data: Data): Response
        • +
        • (data: Data): Response
        • Parameters

          • -
            data: Data
          -

          Returns Response

    • +
      data: Data
+

Returns Response

  • opts: WorkerOptions = {}

    Options for the worker.

  • -

    Returns ClusterWorker<Data, Response>

    Properties

    @@ -129,7 +129,7 @@ but the minimum number of workers will be guaranteed.

    +
  • Defined in src/worker/abstract-worker.ts:31
  • isMain: boolean
    @@ -137,7 +137,7 @@ but the minimum number of workers will be guaranteed.

    +
  • Defined in src/worker/abstract-worker.ts:43
  • lastTaskTimestamp: number
    @@ -145,7 +145,7 @@ but the minimum number of workers will be guaranteed.

    +
  • Defined in src/worker/abstract-worker.ts:27
  • mainWorker: undefined | null | Worker
    @@ -153,7 +153,7 @@ but the minimum number of workers will be guaranteed.

    +
  • Defined in src/worker/abstract-worker.ts:45
  • opts: WorkerOptions = ...
    @@ -161,7 +161,7 @@ but the minimum number of workers will be guaranteed.

    +
  • Defined in src/worker/abstract-worker.ts:46
  • Methods

    @@ -179,7 +179,7 @@ but the minimum number of workers will be guaranteed.

      - +
    • Binds the given function to execute to this AsyncResource's scope.

      The returned function will have an asyncResource property referencing @@ -196,10 +196,10 @@ the AsyncResource to which the function is bound.

      Parameters

      • -
        fn: Func
        +
        fn: Func

        The function to bind to the current AsyncResource.

      -

      Returns Func & {
          asyncResource: AsyncResource;
      }

    @@ -213,11 +213,11 @@ the AsyncResource to which the function is bound.

    Returns void

    +
  • Defined in src/worker/abstract-worker.ts:146
    • - +
    • Call all destroy hooks. This should only ever be called once. An error will be thrown if it is called more than once. This must be manually called. If @@ -226,7 +226,7 @@ never be called.

      Returns

      A reference to asyncResource.

      -

      Returns ClusterWorker<Data, Response>

    @@ -242,7 +242,7 @@ never be called.

    Returns Worker

    +
  • Defined in src/worker/abstract-worker.ts:129
  • +
  • Defined in src/worker/cluster-worker.ts:47
    • - +
    • Worker message listener.

      @@ -270,32 +270,32 @@ never be called.

      Parameters

      • -
        message: MessageValue<Data, Worker>
        +
        message: MessageValue<Data, Worker>

        Message received.

      • -
        fn: ((data: Data) => Response)
        +
        fn: ((data: Data) => Response)

        Function processed by the worker when the pool's execution function is invoked.

          • -
          • (data: Data): Response
          • +
          • (data: Data): Response
          • Parameters

            • -
              data: Data
            -

            Returns Response

      +
      data: Data
    +

    Returns Response

    Returns void

    +
  • Defined in src/worker/abstract-worker.ts:84
    • - +
    • Runs the given function synchronously.

      @@ -303,32 +303,32 @@ never be called.

      Parameters

      • -
        fn: ((data?: Data) => Response)
        +
        fn: ((data?: Data) => Response)

        Function that will be executed.

          • -
          • (data?: Data): Response
          • +
          • (data?: Data): Response
          • Parameters

            • -
              Optional data: Data
            -

            Returns Response

      • +
        Optional data: Data
      +

      Returns Response

  • -
    message: MessageValue<Data, unknown>
    +
    message: MessageValue<Data, unknown>

    Input data for the given function.

  • Returns void

    +
  • Defined in src/worker/abstract-worker.ts:171
    • - +
    • Runs the given function asynchronously.

      @@ -336,32 +336,32 @@ never be called.

      Parameters

      • -
        fn: ((data?: Data) => Promise<Response>)
        +
        fn: ((data?: Data) => Promise<Response>)

        Function that will be executed.

          • -
          • (data?: Data): Promise<Response>
          • +
          • (data?: Data): Promise<Response>
          • Parameters

            • -
              Optional data: Data
            -

            Returns Promise<Response>

      • +
        Optional data: Data
      +

      Returns Promise<Response>

  • -
    message: MessageValue<Data, unknown>
    +
    message: MessageValue<Data, unknown>

    Input data for the given function.

  • Returns void

    +
  • Defined in src/worker/abstract-worker.ts:198
    • - +
    • Call the provided function with the provided arguments in the execution context of the async resource. This will establish the context, trigger the AsyncHooks @@ -381,38 +381,38 @@ then restore the original execution context.

      Parameters

      • -
        fn: ((this: This, ...args: any[]) => Result)
        +
        fn: ((this: This, ...args: any[]) => Result)

        The function to call in the execution context of this async resource.

          • -
          • (this: This, ...args: any[]): Result
          • +
          • (this: This, ...args: any[]): Result
          • Parameters

            • -
              this: This
            • +
              this: This
            • Rest ...args: any[]
            -

            Returns Result

      • +

        Returns Result

  • -
    Optional thisArg: This
    +
    Optional thisArg: This

    The receiver to be used for the function call.

  • Rest ...args: any[]

    Optional arguments to pass to the function.

  • -

    Returns Result

      - +
    • Inherit Doc

      @@ -420,11 +420,11 @@ then restore the original execution context.

      Parameters

      • -
        message: MessageValue<Response, unknown>
      +
      message: MessageValue<Response, unknown>

    Returns void

    +
  • Defined in src/worker/cluster-worker.ts:42
    • @@ -440,7 +440,7 @@ then restore the original execution context.

        - +
      • Binds the given function to the current execution context.

        The returned function will have an asyncResource property referencing @@ -452,14 +452,14 @@ the AsyncResource to which the function is bound.

        Type Parameters

        • -

          Func extends ((this: ThisArg, ...args: any[]) => any)

        • +

          Func extends ((this: ThisArg, ...args: any[]) => any)

        • ThisArg

      Parameters

      • -
        fn: Func
        +
        fn: Func

        The function to bind to the current execution context.

      • @@ -467,15 +467,16 @@ the AsyncResource to which the function is bound.

        An optional name to associate with the underlying AsyncResource.

      • -
        Optional thisArg: ThisArg
      -

      Returns Func & {
          asyncResource: AsyncResource;
      }

    +

    Returns Func & {
        asyncResource: AsyncResource;
    }

    - + +

    Generated using TypeDoc

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/docs/classes/DynamicClusterPool.html b/docs/classes/DynamicClusterPool.html index 4d24d8d5..36672032 100644 --- a/docs/classes/DynamicClusterPool.html +++ b/docs/classes/DynamicClusterPool.html @@ -1,4 +1,4 @@ -DynamicClusterPool | poolifier
    +DynamicClusterPool | poolifier
    -
    +
    @@ -96,7 +96,7 @@ When the maximum number of workers is reached and workers are busy, an event is
      - +
    • Constructs a new poolifier dynamic cluster pool.

      @@ -126,10 +126,10 @@ When the maximum number of workers is reached and workers are busy, an event is
      opts: ClusterPoolOptions = {}

      Options for this dynamic cluster pool.

    -

    Returns DynamicClusterPool<Data, Response>

    Properties

    @@ -139,7 +139,7 @@ When the maximum number of workers is reached and workers are busy, an event is

    Inherit Doc

    +
  • Defined in src/pools/abstract-pool.ts:37
  • filePath: string
    @@ -147,14 +147,14 @@ When the maximum number of workers is reached and workers are busy, an event is
    +
  • Defined in src/pools/abstract-pool.ts:72
  • max: number

    Maximum number of workers that can be created by this pool.

    +
  • Defined in src/pools/cluster/dynamic.ts:30
  • numberOfWorkers: number
    @@ -162,7 +162,7 @@ When the maximum number of workers is reached and workers are busy, an event is
    +
  • Defined in src/pools/abstract-pool.ts:71
  • @@ -170,10 +170,10 @@ When the maximum number of workers is reached and workers are busy, an event is
    +
  • Defined in src/pools/cluster/fixed.ts:53
  • -
    promiseResponseMap: Map<string, PromiseResponseWrapper<Worker, Response>> = ...
    +
    promiseResponseMap: Map<string, PromiseResponseWrapper<Worker, Response>> = ...

    The execution response promise map.

    • key: The message id of each submitted task.
    • @@ -183,24 +183,24 @@ When the maximum number of workers is reached and workers are busy, an event is
    +
  • Defined in src/pools/abstract-pool.ts:47
  • -
    workerChoiceStrategyContext: WorkerChoiceStrategyContext<Worker, Data, Response>
    +
    workerChoiceStrategyContext: WorkerChoiceStrategyContext<Worker, Data, Response>

    Worker choice strategy context referencing a worker choice algorithm implementation.

    Default to a round robin algorithm.

    +
  • Defined in src/pools/abstract-pool.ts:57
  • -
    workerNodes: WorkerNode<Worker, Data>[] = []
    +
    workerNodes: WorkerNode<Worker, Data>[] = []

    Inherit Doc

    +
  • Defined in src/pools/abstract-pool.ts:34
  • Accessors

    @@ -213,7 +213,7 @@ When the maximum number of workers is reached and workers are busy, an event is

    Returns boolean

    +
  • Defined in src/pools/cluster/dynamic.ts:48
    • @@ -224,7 +224,7 @@ When the maximum number of workers is reached and workers are busy, an event is

      Returns boolean

    +
  • Defined in src/pools/cluster/dynamic.ts:43
    • @@ -235,7 +235,7 @@ When the maximum number of workers is reached and workers are busy, an event is

      Returns number

    +
  • Defined in src/pools/abstract-pool.ts:182
    • @@ -246,7 +246,7 @@ When the maximum number of workers is reached and workers are busy, an event is

      Returns number

    +
  • Defined in src/pools/abstract-pool.ts:172
    • @@ -257,13 +257,13 @@ When the maximum number of workers is reached and workers are busy, an event is

      Returns PoolType

    +
  • Defined in src/pools/cluster/dynamic.ts:38
  • Methods

      - +
    • Hook executed after the worker task execution. Can be overridden.

      @@ -276,13 +276,13 @@ Can be overridden.

      The worker.

    • -
      message: MessageValue<Response, unknown>
      +
      message: MessageValue<Response, unknown>

      The received message.

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:323
  • +
  • Defined in src/pools/cluster/fixed.ts:93
  • +
  • Defined in src/pools/abstract-pool.ts:312
    • - +
    • Chooses a worker node for the next task.

      The default uses a round robin algorithm to distribute the load.

      Returns

      [worker node key, worker node].

      -

      Returns [number, WorkerNode<Worker, Data>]

    +
  • Defined in src/pools/abstract-pool.ts:356
  • +
  • Defined in src/pools/abstract-pool.ts:418
  • +
  • Defined in src/pools/cluster/fixed.ts:88
  • +
  • Defined in src/pools/abstract-pool.ts:275
  • +
  • Defined in src/pools/cluster/fixed.ts:69
    • - +
    • Inherit Doc

      @@ -394,11 +394,11 @@ Can be overridden.

      Parameters

      • -
        data: Data
      -

      Returns Promise<Response>

    +

    Returns Promise<Response>

    +
  • Defined in src/pools/abstract-pool.ts:244
  • +
  • Defined in src/pools/abstract-pool.ts:237
  • +
  • Defined in src/pools/abstract-pool.ts:232
  • +
  • Defined in src/pools/cluster/fixed.ts:64
    • - +
    • Inherit Doc

      @@ -448,26 +448,26 @@ Can be overridden.

    • worker: Worker
    • -
      listener: ((message: MessageValue<Message, unknown>) => void)
      +
      listener: ((message: MessageValue<Message, unknown>) => void)
        • -
        • (message: MessageValue<Message, unknown>): void
        • +
        • (message: MessageValue<Message, unknown>): void
        • Parameters

          • -
            message: MessageValue<Message, unknown>
          +
          message: MessageValue<Message, unknown>

        Returns void

    Returns void

    +
  • Defined in src/pools/cluster/fixed.ts:80
    • - +
    • Inherit Doc

      @@ -477,11 +477,11 @@ Can be overridden.

    • worker: Worker
    • -
      message: MessageValue<Data, unknown>
    +
    message: MessageValue<Data, unknown>

    Returns void

    +
  • Defined in src/pools/cluster/fixed.ts:75
  • +
  • Defined in src/pools/abstract-pool.ts:205
  • +
  • Defined in src/pools/cluster/fixed.ts:59
    • - +
    • This function is the listener registered for each worker message.

      Returns

      The listener function to execute when a message is received from a worker.

      -

      Returns ((message: MessageValue<Response, unknown>) => void)

      +

      Returns ((message: MessageValue<Response, unknown>) => void)

        • -
        • (message: MessageValue<Response, unknown>): void
        • +
        • (message: MessageValue<Response, unknown>): void
        • This function is the listener registered for each worker message.

          @@ -532,15 +532,16 @@ Can be overridden.

          Parameters

          • -
            message: MessageValue<Response, unknown>
          +
          message: MessageValue<Response, unknown>

        Returns void

    - + - + +

    Generated using TypeDoc

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/docs/classes/DynamicThreadPool.html b/docs/classes/DynamicThreadPool.html index f364fde6..f6495e27 100644 --- a/docs/classes/DynamicThreadPool.html +++ b/docs/classes/DynamicThreadPool.html @@ -1,4 +1,4 @@ -DynamicThreadPool | poolifier
    +DynamicThreadPool | poolifier
    -
    +
    @@ -96,7 +96,7 @@ When the maximum number of threads is reached and workers are busy, an event is
    -

    Returns DynamicThreadPool<Data, Response>

    Properties

    @@ -139,7 +139,7 @@ When the maximum number of threads is reached and workers are busy, an event is

    Inherit Doc

    +
  • Defined in src/pools/abstract-pool.ts:37
  • filePath: string
    @@ -147,14 +147,14 @@ When the maximum number of threads is reached and workers are busy, an event is
    +
  • Defined in src/pools/abstract-pool.ts:72
  • max: number

    Maximum number of threads that can be created by this pool.

    +
  • Defined in src/pools/thread/dynamic.ts:31
  • numberOfWorkers: number
    @@ -162,7 +162,7 @@ When the maximum number of threads is reached and workers are busy, an event is
    +
  • Defined in src/pools/abstract-pool.ts:71
  • @@ -170,10 +170,10 @@ When the maximum number of threads is reached and workers are busy, an event is
    +
  • Defined in src/pools/abstract-pool.ts:73
  • -
    promiseResponseMap: Map<string, PromiseResponseWrapper<ThreadWorkerWithMessageChannel, Response>> = ...
    +
    promiseResponseMap: Map<string, PromiseResponseWrapper<ThreadWorkerWithMessageChannel, Response>> = ...

    The execution response promise map.

    • key: The message id of each submitted task.
    • @@ -183,24 +183,24 @@ When the maximum number of threads is reached and workers are busy, an event is
    +
  • Defined in src/pools/abstract-pool.ts:47
  • -
    workerChoiceStrategyContext: WorkerChoiceStrategyContext<ThreadWorkerWithMessageChannel, Data, Response>
    +
    workerChoiceStrategyContext: WorkerChoiceStrategyContext<ThreadWorkerWithMessageChannel, Data, Response>

    Worker choice strategy context referencing a worker choice algorithm implementation.

    Default to a round robin algorithm.

    +
  • Defined in src/pools/abstract-pool.ts:57
  • -
    workerNodes: WorkerNode<ThreadWorkerWithMessageChannel, Data>[] = []
    +
    workerNodes: WorkerNode<ThreadWorkerWithMessageChannel, Data>[] = []

    Inherit Doc

    +
  • Defined in src/pools/abstract-pool.ts:34
  • Accessors

    @@ -213,7 +213,7 @@ When the maximum number of threads is reached and workers are busy, an event is

    Returns boolean

    +
  • Defined in src/pools/thread/dynamic.ts:49
    • @@ -224,7 +224,7 @@ When the maximum number of threads is reached and workers are busy, an event is

      Returns boolean

    +
  • Defined in src/pools/thread/dynamic.ts:44
    • @@ -235,7 +235,7 @@ When the maximum number of threads is reached and workers are busy, an event is

      Returns number

    +
  • Defined in src/pools/abstract-pool.ts:182
    • @@ -246,7 +246,7 @@ When the maximum number of threads is reached and workers are busy, an event is

      Returns number

    +
  • Defined in src/pools/abstract-pool.ts:172
    • @@ -257,13 +257,13 @@ When the maximum number of threads is reached and workers are busy, an event is

      Returns PoolType

    +
  • Defined in src/pools/thread/dynamic.ts:39
  • Methods

      - +
    • Hook executed after the worker task execution. Can be overridden.

      @@ -276,13 +276,13 @@ Can be overridden.

      The worker.

    • -
      message: MessageValue<Response, unknown>
      +
      message: MessageValue<Response, unknown>

      The received message.

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:323
  • +
  • Defined in src/pools/thread/fixed.ts:85
  • +
  • Defined in src/pools/abstract-pool.ts:312
  • +
  • Defined in src/pools/abstract-pool.ts:356
  • +
  • Defined in src/pools/abstract-pool.ts:418
  • +
  • Defined in src/pools/thread/fixed.ts:78
  • +
  • Defined in src/pools/abstract-pool.ts:275
  • +
  • Defined in src/pools/thread/fixed.ts:54
    • - +
    • Inherit Doc

      @@ -394,11 +394,11 @@ Can be overridden.

      Parameters

      • -
        data: Data
      -

      Returns Promise<Response>

    +

    Returns Promise<Response>

    +
  • Defined in src/pools/abstract-pool.ts:244
  • +
  • Defined in src/pools/abstract-pool.ts:237
  • +
  • Defined in src/pools/abstract-pool.ts:232
  • +
  • Defined in src/pools/thread/fixed.ts:49
    • - +
    • Inherit Doc

      @@ -448,26 +448,26 @@ Can be overridden.

    • messageChannel: ThreadWorkerWithMessageChannel
    • -
      listener: ((message: MessageValue<Message, unknown>) => void)
      +
      listener: ((message: MessageValue<Message, unknown>) => void)
        • -
        • (message: MessageValue<Message, unknown>): void
        • +
        • (message: MessageValue<Message, unknown>): void
        • Parameters

          • -
            message: MessageValue<Message, unknown>
          +
          message: MessageValue<Message, unknown>

        Returns void

    Returns void

    +
  • Defined in src/pools/thread/fixed.ts:70
  • +
    message: MessageValue<Data, unknown>

    Returns void

    +
  • Defined in src/pools/thread/fixed.ts:62
  • +
  • Defined in src/pools/abstract-pool.ts:205
  • +
  • Defined in src/pools/abstract-pool.ts:297
    • - +
    • This function is the listener registered for each worker message.

      Returns

      The listener function to execute when a message is received from a worker.

      -

      Returns ((message: MessageValue<Response, unknown>) => void)

      +

      Returns ((message: MessageValue<Response, unknown>) => void)

        • -
        • (message: MessageValue<Response, unknown>): void
        • +
        • (message: MessageValue<Response, unknown>): void
        • This function is the listener registered for each worker message.

          @@ -533,15 +533,16 @@ Can be overridden

          Parameters

          • -
            message: MessageValue<Response, unknown>
          +
          message: MessageValue<Response, unknown>

        Returns void

    - + - + +

    Generated using TypeDoc

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/docs/classes/FixedClusterPool.html b/docs/classes/FixedClusterPool.html index 69d7af93..4c7ab507 100644 --- a/docs/classes/FixedClusterPool.html +++ b/docs/classes/FixedClusterPool.html @@ -1,4 +1,4 @@ -FixedClusterPool | poolifier
    +FixedClusterPool | poolifier
    -
    +
    @@ -97,7 +97,7 @@
    -

    Returns FixedClusterPool<Data, Response>

    Properties

    @@ -136,7 +136,7 @@

    Inherit Doc

    +
  • Defined in src/pools/abstract-pool.ts:37
  • filePath: string
    @@ -144,7 +144,7 @@
    +
  • Defined in src/pools/abstract-pool.ts:72
  • numberOfWorkers: number
    @@ -152,7 +152,7 @@
    +
  • Defined in src/pools/abstract-pool.ts:71
  • @@ -160,10 +160,10 @@
    +
  • Defined in src/pools/cluster/fixed.ts:53
  • -
    promiseResponseMap: Map<string, PromiseResponseWrapper<Worker, Response>> = ...
    +
    promiseResponseMap: Map<string, PromiseResponseWrapper<Worker, Response>> = ...

    The execution response promise map.

    • key: The message id of each submitted task.
    • @@ -173,24 +173,24 @@
    +
  • Defined in src/pools/abstract-pool.ts:47
  • -
    workerChoiceStrategyContext: WorkerChoiceStrategyContext<Worker, Data, Response>
    +
    workerChoiceStrategyContext: WorkerChoiceStrategyContext<Worker, Data, Response>

    Worker choice strategy context referencing a worker choice algorithm implementation.

    Default to a round robin algorithm.

    +
  • Defined in src/pools/abstract-pool.ts:57
  • -
    workerNodes: WorkerNode<Worker, Data>[] = []
    +
    workerNodes: WorkerNode<Worker, Data>[] = []

    Inherit Doc

    +
  • Defined in src/pools/abstract-pool.ts:34
  • Accessors

    @@ -203,7 +203,7 @@

    Returns boolean

    +
  • Defined in src/pools/cluster/fixed.ts:109
  • +
  • Defined in src/pools/cluster/fixed.ts:104
  • +
  • Defined in src/pools/abstract-pool.ts:182
  • +
  • Defined in src/pools/abstract-pool.ts:172
  • +
  • Defined in src/pools/cluster/fixed.ts:99
  • Methods

      - +
    • Hook executed after the worker task execution. Can be overridden.

      @@ -266,13 +266,13 @@ Can be overridden.

      The worker.

    • -
      message: MessageValue<Response, unknown>
      +
      message: MessageValue<Response, unknown>

      The received message.

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:323
  • +
  • Defined in src/pools/cluster/fixed.ts:93
  • +
  • Defined in src/pools/abstract-pool.ts:312
    • - +
    • Chooses a worker node for the next task.

      The default uses a round robin algorithm to distribute the load.

      Returns

      [worker node key, worker node].

      -

      Returns [number, WorkerNode<Worker, Data>]

    +
  • Defined in src/pools/abstract-pool.ts:356
  • +
  • Defined in src/pools/abstract-pool.ts:418
  • +
  • Defined in src/pools/cluster/fixed.ts:88
  • +
  • Defined in src/pools/abstract-pool.ts:275
  • +
  • Defined in src/pools/cluster/fixed.ts:69
    • - +
    • Inherit Doc

      @@ -384,11 +384,11 @@ Can be overridden.

      Parameters

      • -
        data: Data
      -

      Returns Promise<Response>

    +

    Returns Promise<Response>

    +
  • Defined in src/pools/abstract-pool.ts:244
  • +
  • Defined in src/pools/abstract-pool.ts:237
  • +
  • Defined in src/pools/abstract-pool.ts:232
  • +
  • Defined in src/pools/cluster/fixed.ts:64
    • - +
    • Inherit Doc

      @@ -438,26 +438,26 @@ Can be overridden.

    • worker: Worker
    • -
      listener: ((message: MessageValue<Message, unknown>) => void)
      +
      listener: ((message: MessageValue<Message, unknown>) => void)
        • -
        • (message: MessageValue<Message, unknown>): void
        • +
        • (message: MessageValue<Message, unknown>): void
        • Parameters

          • -
            message: MessageValue<Message, unknown>
          +
          message: MessageValue<Message, unknown>

        Returns void

    Returns void

    +
  • Defined in src/pools/cluster/fixed.ts:80
    • - +
    • Inherit Doc

      @@ -467,11 +467,11 @@ Can be overridden.

    • worker: Worker
    • -
      message: MessageValue<Data, unknown>
    +
    message: MessageValue<Data, unknown>

    Returns void

    +
  • Defined in src/pools/cluster/fixed.ts:75
  • +
  • Defined in src/pools/abstract-pool.ts:205
  • +
  • Defined in src/pools/cluster/fixed.ts:59
    • - +
    • This function is the listener registered for each worker message.

      Returns

      The listener function to execute when a message is received from a worker.

      -

      Returns ((message: MessageValue<Response, unknown>) => void)

      +

      Returns ((message: MessageValue<Response, unknown>) => void)

        • -
        • (message: MessageValue<Response, unknown>): void
        • +
        • (message: MessageValue<Response, unknown>): void
        • This function is the listener registered for each worker message.

          @@ -522,15 +522,16 @@ Can be overridden.

          Parameters

          • -
            message: MessageValue<Response, unknown>
          +
          message: MessageValue<Response, unknown>

        Returns void

    - + - + +

    Generated using TypeDoc

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/docs/classes/FixedThreadPool.html b/docs/classes/FixedThreadPool.html index b0447260..e0337f6d 100644 --- a/docs/classes/FixedThreadPool.html +++ b/docs/classes/FixedThreadPool.html @@ -1,4 +1,4 @@ -FixedThreadPool | poolifier
    +FixedThreadPool | poolifier
    -
    +
    @@ -97,7 +97,7 @@
    -

    Returns FixedThreadPool<Data, Response>

    Properties

    @@ -136,7 +136,7 @@

    Inherit Doc

    +
  • Defined in src/pools/abstract-pool.ts:37
  • filePath: string
    @@ -144,7 +144,7 @@
    +
  • Defined in src/pools/abstract-pool.ts:72
  • numberOfWorkers: number
    @@ -152,7 +152,7 @@
    +
  • Defined in src/pools/abstract-pool.ts:71
  • @@ -160,10 +160,10 @@
    +
  • Defined in src/pools/abstract-pool.ts:73
  • -
    promiseResponseMap: Map<string, PromiseResponseWrapper<ThreadWorkerWithMessageChannel, Response>> = ...
    +
    promiseResponseMap: Map<string, PromiseResponseWrapper<ThreadWorkerWithMessageChannel, Response>> = ...

    The execution response promise map.

    • key: The message id of each submitted task.
    • @@ -173,24 +173,24 @@
    +
  • Defined in src/pools/abstract-pool.ts:47
  • -
    workerChoiceStrategyContext: WorkerChoiceStrategyContext<ThreadWorkerWithMessageChannel, Data, Response>
    +
    workerChoiceStrategyContext: WorkerChoiceStrategyContext<ThreadWorkerWithMessageChannel, Data, Response>

    Worker choice strategy context referencing a worker choice algorithm implementation.

    Default to a round robin algorithm.

    +
  • Defined in src/pools/abstract-pool.ts:57
  • -
    workerNodes: WorkerNode<ThreadWorkerWithMessageChannel, Data>[] = []
    +
    workerNodes: WorkerNode<ThreadWorkerWithMessageChannel, Data>[] = []

    Inherit Doc

    +
  • Defined in src/pools/abstract-pool.ts:34
  • Accessors

    @@ -203,7 +203,7 @@

    Returns boolean

    +
  • Defined in src/pools/thread/fixed.ts:105
  • +
  • Defined in src/pools/thread/fixed.ts:100
  • +
  • Defined in src/pools/abstract-pool.ts:182
  • +
  • Defined in src/pools/abstract-pool.ts:172
  • +
  • Defined in src/pools/thread/fixed.ts:95
  • Methods

      - +
    • Hook executed after the worker task execution. Can be overridden.

      @@ -266,13 +266,13 @@ Can be overridden.

      The worker.

    • -
      message: MessageValue<Response, unknown>
      +
      message: MessageValue<Response, unknown>

      The received message.

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:323
  • +
  • Defined in src/pools/thread/fixed.ts:85
  • +
  • Defined in src/pools/abstract-pool.ts:312
  • +
  • Defined in src/pools/abstract-pool.ts:356
  • +
  • Defined in src/pools/abstract-pool.ts:418
  • +
  • Defined in src/pools/thread/fixed.ts:78
  • +
  • Defined in src/pools/abstract-pool.ts:275
    • @@ -372,11 +372,11 @@ Can be overridden.

      Returns Promise<void>

    +
  • Defined in src/pools/thread/fixed.ts:54
    • - +
    • Inherit Doc

      @@ -384,11 +384,11 @@ Can be overridden.

      Parameters

      • -
        data: Data
      -

      Returns Promise<Response>

    +

    Returns Promise<Response>

    +
  • Defined in src/pools/abstract-pool.ts:244
  • +
  • Defined in src/pools/abstract-pool.ts:237
  • +
  • Defined in src/pools/abstract-pool.ts:232
  • +
  • Defined in src/pools/thread/fixed.ts:49
    • - +
    • Inherit Doc

      @@ -438,26 +438,26 @@ Can be overridden.

    • messageChannel: ThreadWorkerWithMessageChannel
    • -
      listener: ((message: MessageValue<Message, unknown>) => void)
      +
      listener: ((message: MessageValue<Message, unknown>) => void)
        • -
        • (message: MessageValue<Message, unknown>): void
        • +
        • (message: MessageValue<Message, unknown>): void
        • Parameters

          • -
            message: MessageValue<Message, unknown>
          +
          message: MessageValue<Message, unknown>

        Returns void

    Returns void

    +
  • Defined in src/pools/thread/fixed.ts:70
  • +
    message: MessageValue<Data, unknown>

    Returns void

    +
  • Defined in src/pools/thread/fixed.ts:62
  • +
  • Defined in src/pools/abstract-pool.ts:205
  • +
  • Defined in src/pools/abstract-pool.ts:297
    • - +
    • This function is the listener registered for each worker message.

      Returns

      The listener function to execute when a message is received from a worker.

      -

      Returns ((message: MessageValue<Response, unknown>) => void)

      +

      Returns ((message: MessageValue<Response, unknown>) => void)

        • -
        • (message: MessageValue<Response, unknown>): void
        • +
        • (message: MessageValue<Response, unknown>): void
        • This function is the listener registered for each worker message.

          @@ -523,15 +523,16 @@ Can be overridden

          Parameters

          • -
            message: MessageValue<Response, unknown>
          +
          message: MessageValue<Response, unknown>

        Returns void

    - + - + +

    Generated using TypeDoc

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/docs/classes/PoolEmitter.html b/docs/classes/PoolEmitter.html index 03606437..887b58a5 100644 --- a/docs/classes/PoolEmitter.html +++ b/docs/classes/PoolEmitter.html @@ -1,4 +1,4 @@ -PoolEmitter | poolifier
    +PoolEmitter | poolifier
    -
    +
    +
  • Defined in src/pools/pool.ts:17
  • @@ -723,10 +723,11 @@ special handling:

    Inherited from EventEmitter.setMaxListeners

    • Defined in node_modules/.pnpm/@types+node@18.15.11/node_modules/@types/node/events.d.ts:317
    - +
    +

    Generated using TypeDoc

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/docs/classes/ThreadWorker.html b/docs/classes/ThreadWorker.html index 715f4ac7..9b927050 100644 --- a/docs/classes/ThreadWorker.html +++ b/docs/classes/ThreadWorker.html @@ -1,4 +1,4 @@ -ThreadWorker | poolifier
    +ThreadWorker | poolifier
    -
    +
    @@ -83,7 +83,7 @@ but the minimum number of workers will be guaranteed.

      - +
    • Constructs a new poolifier thread worker.

      @@ -98,28 +98,28 @@ but the minimum number of workers will be guaranteed.

      Parameters

      • -
        fn: ((data: Data) => Response)
        +
        fn: ((data: Data) => Response)

        Function processed by the worker when the pool's execution function is invoked.

          • -
          • (data: Data): Response
          • +
          • (data: Data): Response
          • Parameters

            • -
              data: Data
            -

            Returns Response

      • +
        data: Data
    +

    Returns Response

  • opts: WorkerOptions = {}

    Options for the worker.

  • -

    Returns ThreadWorker<Data, Response>

    Properties

    @@ -129,7 +129,7 @@ but the minimum number of workers will be guaranteed.

    +
  • Defined in src/worker/abstract-worker.ts:31
  • isMain: boolean
    @@ -137,7 +137,7 @@ but the minimum number of workers will be guaranteed.

    +
  • Defined in src/worker/abstract-worker.ts:43
  • lastTaskTimestamp: number
    @@ -145,7 +145,7 @@ but the minimum number of workers will be guaranteed.

    +
  • Defined in src/worker/abstract-worker.ts:27
  • mainWorker: undefined | null | MessagePort
    @@ -153,7 +153,7 @@ but the minimum number of workers will be guaranteed.

    +
  • Defined in src/worker/abstract-worker.ts:45
  • opts: WorkerOptions = ...
    @@ -161,7 +161,7 @@ but the minimum number of workers will be guaranteed.

    +
  • Defined in src/worker/abstract-worker.ts:46
  • Methods

    @@ -179,7 +179,7 @@ but the minimum number of workers will be guaranteed.

      - +
    • Binds the given function to execute to this AsyncResource's scope.

      The returned function will have an asyncResource property referencing @@ -196,10 +196,10 @@ the AsyncResource to which the function is bound.

      Parameters

      • -
        fn: Func
        +
        fn: Func

        The function to bind to the current AsyncResource.

      -

      Returns Func & {
          asyncResource: AsyncResource;
      }

    @@ -213,11 +213,11 @@ the AsyncResource to which the function is bound.

    Returns void

    +
  • Defined in src/worker/abstract-worker.ts:146
    • - +
    • Call all destroy hooks. This should only ever be called once. An error will be thrown if it is called more than once. This must be manually called. If @@ -226,7 +226,7 @@ never be called.

      Returns

      A reference to asyncResource.

      -

      Returns ThreadWorker<Data, Response>

    @@ -242,7 +242,7 @@ never be called.

    Returns MessagePort

    +
  • Defined in src/worker/abstract-worker.ts:129
  • +
  • Defined in src/worker/abstract-worker.ts:161
    • - +
    • Worker message listener.

      @@ -274,32 +274,32 @@ never be called.

      Parameters

      • -
        message: MessageValue<Data, MessagePort>
        +
        message: MessageValue<Data, MessagePort>

        Message received.

      • -
        fn: ((data: Data) => Response)
        +
        fn: ((data: Data) => Response)

        Function processed by the worker when the pool's execution function is invoked.

          • -
          • (data: Data): Response
          • +
          • (data: Data): Response
          • Parameters

            • -
              data: Data
            -

            Returns Response

      +
      data: Data
    +

    Returns Response

    Returns void

    +
  • Defined in src/worker/abstract-worker.ts:84
    • - +
    • Runs the given function synchronously.

      @@ -307,32 +307,32 @@ never be called.

      Parameters

      • -
        fn: ((data?: Data) => Response)
        +
        fn: ((data?: Data) => Response)

        Function that will be executed.

          • -
          • (data?: Data): Response
          • +
          • (data?: Data): Response
          • Parameters

            • -
              Optional data: Data
            -

            Returns Response

      • +
        Optional data: Data
      +

      Returns Response

  • -
    message: MessageValue<Data, unknown>
    +
    message: MessageValue<Data, unknown>

    Input data for the given function.

  • Returns void

    +
  • Defined in src/worker/abstract-worker.ts:171
    • - +
    • Runs the given function asynchronously.

      @@ -340,32 +340,32 @@ never be called.

      Parameters

      • -
        fn: ((data?: Data) => Promise<Response>)
        +
        fn: ((data?: Data) => Promise<Response>)

        Function that will be executed.

          • -
          • (data?: Data): Promise<Response>
          • +
          • (data?: Data): Promise<Response>
          • Parameters

            • -
              Optional data: Data
            -

            Returns Promise<Response>

      • +
        Optional data: Data
      +

      Returns Promise<Response>

  • -
    message: MessageValue<Data, unknown>
    +
    message: MessageValue<Data, unknown>

    Input data for the given function.

  • Returns void

    +
  • Defined in src/worker/abstract-worker.ts:198
    • - +
    • Call the provided function with the provided arguments in the execution context of the async resource. This will establish the context, trigger the AsyncHooks @@ -385,38 +385,38 @@ then restore the original execution context.

      Parameters

      • -
        fn: ((this: This, ...args: any[]) => Result)
        +
        fn: ((this: This, ...args: any[]) => Result)

        The function to call in the execution context of this async resource.

          • -
          • (this: This, ...args: any[]): Result
          • +
          • (this: This, ...args: any[]): Result
          • Parameters

            • -
              this: This
            • +
              this: This
            • Rest ...args: any[]
            -

            Returns Result

      • +

        Returns Result

  • -
    Optional thisArg: This
    +
    Optional thisArg: This

    The receiver to be used for the function call.

  • Rest ...args: any[]

    Optional arguments to pass to the function.

  • -

    Returns Result

      - +
    • Inherit Doc

      @@ -424,11 +424,11 @@ then restore the original execution context.

      Parameters

      • -
        message: MessageValue<Response, unknown>
      +
      message: MessageValue<Response, unknown>

    Returns void

    +
  • Defined in src/worker/thread-worker.ts:36
    • @@ -444,7 +444,7 @@ then restore the original execution context.

        - +
      • Binds the given function to the current execution context.

        The returned function will have an asyncResource property referencing @@ -456,14 +456,14 @@ the AsyncResource to which the function is bound.

        Type Parameters

        • -

          Func extends ((this: ThisArg, ...args: any[]) => any)

        • +

          Func extends ((this: ThisArg, ...args: any[]) => any)

        • ThisArg

      Parameters

      • -
        fn: Func
        +
        fn: Func

        The function to bind to the current execution context.

      • @@ -471,15 +471,16 @@ the AsyncResource to which the function is bound.

        An optional name to associate with the underlying AsyncResource.

      • -
        Optional thisArg: ThisArg
      -

      Returns Func & {
          asyncResource: AsyncResource;
      }

    +

    Returns Func & {
        asyncResource: AsyncResource;
    }

    - + +

    Generated using TypeDoc

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index 428e89c8..1adbafd0 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,4 +1,4 @@ -poolifier
    +poolifier
    + +

    Generated using TypeDoc

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/docs/interfaces/ClusterPoolOptions.html b/docs/interfaces/ClusterPoolOptions.html index 31dafd82..4f52a7a7 100644 --- a/docs/interfaces/ClusterPoolOptions.html +++ b/docs/interfaces/ClusterPoolOptions.html @@ -1,4 +1,4 @@ -ClusterPoolOptions | poolifier
    +ClusterPoolOptions | poolifier
    - +
  • Defined in src/pools/pool.ts:77
  • enableTasksQueue?: boolean
    @@ -65,7 +66,7 @@
    +
  • Defined in src/pools/pool.ts:84
  • env?: any
    @@ -74,7 +75,7 @@

    See

    https://nodejs.org/api/cluster.html#cluster_cluster_fork_env

    +
  • Defined in src/pools/cluster/fixed.ts:18
  • errorHandler?: ErrorHandler<Worker>
    @@ -82,7 +83,7 @@
    +
  • Defined in src/pools/pool.ts:55
  • exitHandler?: ExitHandler<Worker>
    @@ -90,7 +91,7 @@
    +
  • Defined in src/pools/pool.ts:63
  • messageHandler?: MessageHandler<Worker>
    @@ -98,7 +99,7 @@
    +
  • Defined in src/pools/pool.ts:51
  • onlineHandler?: OnlineHandler<Worker>
    @@ -106,7 +107,7 @@
    +
  • Defined in src/pools/pool.ts:59
  • settings?: ClusterSettings
    @@ -115,7 +116,17 @@

    See

    https://nodejs.org/api/cluster.html#cluster_cluster_settings

    +
  • Defined in src/pools/cluster/fixed.ts:24
  • +
    + +
    tasksQueueOptions?: TasksQueueOptions
    +

    Pool worker tasks queue options.

    + +

    Default Value

    { concurrency: 1 }

    +
    workerChoiceStrategy?: "ROUND_ROBIN" | "LESS_USED" | "LESS_BUSY" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN"
    @@ -123,7 +134,7 @@
    +
  • Defined in src/pools/pool.ts:67
  • workerChoiceStrategyOptions?: WorkerChoiceStrategyOptions
    @@ -131,11 +142,12 @@
    - +
    +
    - + +

    Generated using TypeDoc

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/docs/interfaces/IPool.html b/docs/interfaces/IPool.html index 936f3435..61d1b615 100644 --- a/docs/interfaces/IPool.html +++ b/docs/interfaces/IPool.html @@ -1,4 +1,4 @@ -IPool | poolifier
    +IPool | poolifier
    -
    +
    @@ -63,7 +63,7 @@

    Returns Promise<void>

    +
  • Defined in src/pools/pool.ts:120
  • emitter?: PoolEmitter
    @@ -75,16 +75,16 @@
    +
  • Defined in src/pools/pool.ts:109
  • -
    execute: ((data: Data) => Promise<Response>)
    +
    execute: ((data: Data) => Promise<Response>)

    Type declaration

      • -
      • (data: Data): Promise<Response>
      • +
      • (data: Data): Promise<Response>
      • Performs the task specified in the constructor with the data parameter.

        @@ -94,12 +94,12 @@

        Parameters

        • -
          data: Data
          +
          data: Data

          The input for the specified task. This can only be serializable data.

        -

        Returns Promise<Response>

    +
  • Defined in src/pools/pool.ts:116
  • setWorkerChoiceStrategy: ((workerChoiceStrategy: "ROUND_ROBIN" | "LESS_USED" | "LESS_BUSY" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN") => void)
    @@ -121,11 +121,12 @@

    Returns void

    - +
    +
    - + +

    Generated using TypeDoc

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/docs/interfaces/PoolOptions.html b/docs/interfaces/PoolOptions.html index 6023dcbb..220ca0fe 100644 --- a/docs/interfaces/PoolOptions.html +++ b/docs/interfaces/PoolOptions.html @@ -1,4 +1,4 @@ -PoolOptions | poolifier
    +PoolOptions | poolifier
    -
    +
    • poolifier
    • @@ -22,7 +22,7 @@

      Type Parameters

      • -

        Worker

      +

      Worker extends IWorker

    Hierarchy

    +
  • Defined in src/pools/pool.ts:47
  • @@ -44,6 +44,7 @@ exitHandler? messageHandler? onlineHandler? +tasksQueueOptions? workerChoiceStrategy? workerChoiceStrategyOptions?
    @@ -57,7 +58,7 @@

    Default Value

    true

    +
  • Defined in src/pools/pool.ts:77
  • enableTasksQueue?: boolean
    @@ -66,53 +67,63 @@

    Default Value

    false

    +
  • Defined in src/pools/pool.ts:84
  • -
    errorHandler?: ErrorHandler<Worker>
    +
    errorHandler?: ErrorHandler<Worker>

    A function that will listen for error event on each worker.

    +
  • Defined in src/pools/pool.ts:55
  • -
    exitHandler?: ExitHandler<Worker>
    +
    exitHandler?: ExitHandler<Worker>

    A function that will listen for exit event on each worker.

    +
  • Defined in src/pools/pool.ts:63
  • -
    messageHandler?: MessageHandler<Worker>
    +
    messageHandler?: MessageHandler<Worker>

    A function that will listen for message event on each worker.

    +
  • Defined in src/pools/pool.ts:51
  • -
    onlineHandler?: OnlineHandler<Worker>
    +
    onlineHandler?: OnlineHandler<Worker>

    A function that will listen for online event on each worker.

    +
  • Defined in src/pools/pool.ts:59
  • +
    + +
    tasksQueueOptions?: TasksQueueOptions
    +

    Pool worker tasks queue options.

    + +

    Default Value

    { concurrency: 1 }

    +
    workerChoiceStrategy?: "ROUND_ROBIN" | "LESS_USED" | "LESS_BUSY" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN"

    The worker choice strategy to use in this pool.

    +
  • Defined in src/pools/pool.ts:67
  • workerChoiceStrategyOptions?: WorkerChoiceStrategyOptions

    The worker choice strategy options.

    - +
    +
    - + +

    Generated using TypeDoc

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/docs/interfaces/WorkerChoiceStrategyOptions.html b/docs/interfaces/WorkerChoiceStrategyOptions.html index f3d30535..60523ec5 100644 --- a/docs/interfaces/WorkerChoiceStrategyOptions.html +++ b/docs/interfaces/WorkerChoiceStrategyOptions.html @@ -1,4 +1,4 @@ -WorkerChoiceStrategyOptions | poolifier
    +WorkerChoiceStrategyOptions | poolifier
    +

    Generated using TypeDoc

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/docs/interfaces/WorkerOptions.html b/docs/interfaces/WorkerOptions.html index 1a5b13c1..d2d78d04 100644 --- a/docs/interfaces/WorkerOptions.html +++ b/docs/interfaces/WorkerOptions.html @@ -1,4 +1,4 @@ -WorkerOptions | poolifier
    +WorkerOptions | poolifier
    -
    +
    @@ -45,7 +45,7 @@

    Default Value

    false

    +
  • Defined in src/worker/worker-options.ts:57
  • killBehavior?: "SOFT" | "HARD"
    @@ -59,7 +59,7 @@

    Default Value

    KillBehaviors.SOFT

    +
  • Defined in src/worker/worker-options.ts:68
  • maxInactiveTime?: number
    @@ -75,11 +75,12 @@ when this timeout expires your tasks is interrupted and the worker is killed if

    Default Value

    60000 ms

    - +
    +
    - + +

    Generated using TypeDoc

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/docs/types/ErrorHandler.html b/docs/types/ErrorHandler.html index 8e2ff656..4c4487b3 100644 --- a/docs/types/ErrorHandler.html +++ b/docs/types/ErrorHandler.html @@ -1,4 +1,4 @@ -ErrorHandler | poolifier
    +ErrorHandler | poolifier
    -
    +

    Type alias ErrorHandler<Worker>

    -
    ErrorHandler<Worker>: ((this: Worker, e: Error) => void)
    +
    ErrorHandler<Worker>: ((this: Worker, e: Error) => void)

    Type Parameters

    • -

      Worker

    +

    Worker extends IWorker

    Type declaration

      • -
      • (this: Worker, e: Error): void
      • +
      • (this: Worker, e: Error): void
      • Callback invoked if the worker raised an error.

        @@ -34,16 +34,17 @@

        Parameters

        • -
          this: Worker
        • +
          this: Worker
        • e: Error

    Returns void

    - + -
    +

    Theme

    + +

    Generated using TypeDoc

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/docs/types/ExitHandler.html b/docs/types/ExitHandler.html index 7eb5ca65..11992939 100644 --- a/docs/types/ExitHandler.html +++ b/docs/types/ExitHandler.html @@ -1,4 +1,4 @@ -ExitHandler | poolifier
    +ExitHandler | poolifier
    -
    +

    Type alias ExitHandler<Worker>

    -
    ExitHandler<Worker>: ((this: Worker, code: number) => void)
    +
    ExitHandler<Worker>: ((this: Worker, code: number) => void)

    Type Parameters

    • -

      Worker

    +

    Worker extends IWorker

    Type declaration

      • -
      • (this: Worker, code: number): void
      • +
      • (this: Worker, code: number): void
      • Callback invoked when the worker exits successfully.

        @@ -34,16 +34,17 @@

        Parameters

        • -
          this: Worker
        • +
          this: Worker
        • code: number

    Returns void

    - + -
    +

    Theme

    + +

    Generated using TypeDoc

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/docs/types/KillBehavior.html b/docs/types/KillBehavior.html index 1e16ed7b..b043d620 100644 --- a/docs/types/KillBehavior.html +++ b/docs/types/KillBehavior.html @@ -1,4 +1,4 @@ -KillBehavior | poolifier
    +KillBehavior | poolifier
    + +

    Generated using TypeDoc

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/docs/types/MessageHandler.html b/docs/types/MessageHandler.html index a5458953..f4afc97d 100644 --- a/docs/types/MessageHandler.html +++ b/docs/types/MessageHandler.html @@ -1,4 +1,4 @@ -MessageHandler | poolifier
    +MessageHandler | poolifier
    -
    +

    Type alias MessageHandler<Worker>

    -
    MessageHandler<Worker>: ((this: Worker, m: unknown) => void)
    +
    MessageHandler<Worker>: ((this: Worker, m: unknown) => void)

    Type Parameters

    • -

      Worker

    +

    Worker extends IWorker

    Type declaration

      • -
      • (this: Worker, m: unknown): void
      • +
      • (this: Worker, m: unknown): void
      • Callback invoked if the worker has received a message.

        @@ -34,16 +34,17 @@

        Parameters

        • -
          this: Worker
        • +
          this: Worker
        • m: unknown

    Returns void

    - + -
    +

    Theme

    + +

    Generated using TypeDoc

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/docs/types/OnlineHandler.html b/docs/types/OnlineHandler.html index 2b64836e..34d1867f 100644 --- a/docs/types/OnlineHandler.html +++ b/docs/types/OnlineHandler.html @@ -1,4 +1,4 @@ -OnlineHandler | poolifier
    +OnlineHandler | poolifier
    -
    +

    Type alias OnlineHandler<Worker>

    -
    OnlineHandler<Worker>: ((this: Worker) => void)
    +
    OnlineHandler<Worker>: ((this: Worker) => void)

    Type Parameters

    • -

      Worker

    +

    Worker extends IWorker

    Type declaration

      • -
      • (this: Worker): void
      • +
      • (this: Worker): void
      • Callback invoked when the worker has started successfully.

        @@ -34,14 +34,15 @@

        Parameters

        • -
          this: Worker
    +
    this: Worker

    Returns void

    - + -
    +

    Theme

    + +

    Generated using TypeDoc

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/docs/types/PoolEvent.html b/docs/types/PoolEvent.html index ca5d37eb..03cf6f51 100644 --- a/docs/types/PoolEvent.html +++ b/docs/types/PoolEvent.html @@ -1,4 +1,4 @@ -PoolEvent | poolifier
    +PoolEvent | poolifier
    + +

    Generated using TypeDoc

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/docs/types/ThreadWorkerWithMessageChannel.html b/docs/types/ThreadWorkerWithMessageChannel.html index c54d07aa..689e398a 100644 --- a/docs/types/ThreadWorkerWithMessageChannel.html +++ b/docs/types/ThreadWorkerWithMessageChannel.html @@ -1,4 +1,4 @@ -ThreadWorkerWithMessageChannel | poolifier
    +ThreadWorkerWithMessageChannel | poolifier
    -
    +
    - + -
    +

    Theme

    + +

    Generated using TypeDoc

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/docs/types/WorkerChoiceStrategy.html b/docs/types/WorkerChoiceStrategy.html index aa66d7d0..998c9fb5 100644 --- a/docs/types/WorkerChoiceStrategy.html +++ b/docs/types/WorkerChoiceStrategy.html @@ -1,4 +1,4 @@ -WorkerChoiceStrategy | poolifier
    +WorkerChoiceStrategy | poolifier
    + +

    Generated using TypeDoc

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/docs/variables/KillBehaviors.html b/docs/variables/KillBehaviors.html index 3ef358b9..acc14260 100644 --- a/docs/variables/KillBehaviors.html +++ b/docs/variables/KillBehaviors.html @@ -1,4 +1,4 @@ -KillBehaviors | poolifier
    +KillBehaviors | poolifier
    + +

    Generated using TypeDoc

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/docs/variables/PoolEvents.html b/docs/variables/PoolEvents.html index 725c8951..01505139 100644 --- a/docs/variables/PoolEvents.html +++ b/docs/variables/PoolEvents.html @@ -1,4 +1,4 @@ -PoolEvents | poolifier
    +PoolEvents | poolifier
    -
    +
    - + -
    +

    Theme

    + +

    Generated using TypeDoc

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/docs/variables/WorkerChoiceStrategies.html b/docs/variables/WorkerChoiceStrategies.html index 6f85d2b8..9069cf09 100644 --- a/docs/variables/WorkerChoiceStrategies.html +++ b/docs/variables/WorkerChoiceStrategies.html @@ -1,4 +1,4 @@ -WorkerChoiceStrategies | poolifier
    +WorkerChoiceStrategies | poolifier
    + +

    Generated using TypeDoc

    -
    \ No newline at end of file +
    \ No newline at end of file -- 2.34.1