1 <!DOCTYPE html
><html class=
"default" lang=
"en"><head><meta charSet=
"utf-8"/><meta http-equiv=
"x-ua-compatible" content=
"IE=edge"/><title>IPool | poolifier
</title><meta name=
"description" content=
"Documentation for poolifier"/><meta name=
"viewport" content=
"width=device-width, initial-scale=1"/><link rel=
"stylesheet" href=
"../assets/style.css"/><link rel=
"stylesheet" href=
"../assets/highlight.css"/><script async
src=
"../assets/search.js" id=
"search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem(
"tsd-theme") ||
"os"</script><header class=
"tsd-page-toolbar">
2 <div class=
"tsd-toolbar-contents container">
3 <div class=
"table-cell" id=
"tsd-search" data-base=
"..">
4 <div class=
"field"><label for=
"tsd-search-field" class=
"tsd-widget tsd-toolbar-icon search no-caption"><svg width=
"16" height=
"16" viewBox=
"0 0 16 16" fill=
"none"><path d=
"M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill=
"var(--color-text)"></path></svg></label><input type=
"text" id=
"tsd-search-field" aria-label=
"Search"/></div>
6 <div id=
"tsd-toolbar-links"></div></div>
8 <li class=
"state loading">Preparing search index...
</li>
9 <li class=
"state failure">The search index is not available
</li></ul><a href=
"" class=
"title">poolifier
</a></div>
10 <div class=
"table-cell" id=
"tsd-widgets"><a href=
"#" class=
"tsd-widget tsd-toolbar-icon menu no-caption" data-toggle=
"menu" aria-label=
"Menu"><svg width=
"16" height=
"16" viewBox=
"0 0 16 16" fill=
"none"><rect x=
"1" y=
"3" width=
"14" height=
"2" fill=
"var(--color-text)"></rect><rect x=
"1" y=
"7" width=
"14" height=
"2" fill=
"var(--color-text)"></rect><rect x=
"1" y=
"11" width=
"14" height=
"2" fill=
"var(--color-text)"></rect></svg></a></div></div></header>
11 <div class=
"container container-main">
12 <div class=
"col-8 col-content">
13 <div class=
"tsd-page-title">
14 <ul class=
"tsd-breadcrumb">
15 <li><a href=
"../index.html">poolifier
</a></li>
16 <li><a href=
"IPool.html">IPool
</a></li></ul>
17 <h1>Interface IPool
<Data, Response
></h1></div>
18 <section class=
"tsd-panel tsd-comment">
19 <div class=
"tsd-comment tsd-typography"><p>Contract definition for a poolifier pool.
</p>
21 <section class=
"tsd-panel tsd-type-parameters">
22 <h4>Type Parameters
</h4>
23 <ul class=
"tsd-type-parameters">
25 <h4>Data =
<span class=
"tsd-signature-type">unknown
</span></h4>
26 <div class=
"tsd-comment tsd-typography"><p>Type of data sent to the worker. This can only be serializable data.
</p>
29 <h4>Response =
<span class=
"tsd-signature-type">unknown
</span></h4>
30 <div class=
"tsd-comment tsd-typography"><p>Type of response of execution. This can only be serializable data.
</p>
31 </div></li></ul></section>
32 <section class=
"tsd-panel tsd-hierarchy">
34 <ul class=
"tsd-hierarchy">
35 <li><span class=
"target">IPool
</span></li></ul></section><aside class=
"tsd-sources">
37 <li>Defined in
<a href=
"https://github.com/poolifier/poolifier/blob/356d077/src/pools/pool.ts#L53">src/pools/pool.ts:
53</a></li></ul></aside>
38 <section class=
"tsd-panel-group tsd-index-group">
39 <section class=
"tsd-panel tsd-index-panel">
40 <details class=
"tsd-index-content tsd-index-accordion" open
><summary class=
"tsd-accordion-summary tsd-index-summary">
41 <h5 class=
"tsd-index-heading uppercase" role=
"button" aria-expanded=
"false" tabIndex=
0><svg width=
"16" height=
"16" viewBox=
"0 0 16 16" fill=
"none"><path d=
"M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill=
"var(--color-text)"></path></svg> Index
</h5></summary>
42 <div class=
"tsd-accordion-details">
43 <section class=
"tsd-index-section">
44 <h3 class=
"tsd-index-heading">Properties
</h3>
45 <div class=
"tsd-index-list"><a href=
"IPool.html#emitter" class=
"tsd-index-link tsd-kind-property tsd-parent-kind-interface"><svg class=
"tsd-kind-icon" width=
"24" height=
"24" viewBox=
"0 0 24 24"><rect fill=
"var(--color-icon-background)" stroke=
"#FF984D" stroke-width=
"1.5" x=
"1" y=
"1" width=
"22" height=
"22" rx=
"12" id=
"icon-1024-path"></rect><path d=
"M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill=
"var(--color-text)" id=
"icon-1024-text"></path></svg><span>emitter?
</span></a>
47 <section class=
"tsd-index-section">
48 <h3 class=
"tsd-index-heading">Methods
</h3>
49 <div class=
"tsd-index-list"><a href=
"IPool.html#destroy" class=
"tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class=
"tsd-kind-icon" width=
"24" height=
"24" viewBox=
"0 0 24 24"><rect fill=
"var(--color-icon-background)" stroke=
"#FF4DB8" stroke-width=
"1.5" x=
"1" y=
"1" width=
"22" height=
"22" rx=
"12" id=
"icon-2048-path"></rect><path d=
"M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill=
"var(--color-text)" id=
"icon-2048-text"></path></svg><span>destroy
</span></a>
50 <a href=
"IPool.html#execute" class=
"tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class=
"tsd-kind-icon" width=
"24" height=
"24" viewBox=
"0 0 24 24"><use href=
"#icon-2048-path"></use><use href=
"#icon-2048-text"></use></svg><span>execute
</span></a>
51 <a href=
"IPool.html#setWorkerChoiceStrategy" class=
"tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class=
"tsd-kind-icon" width=
"24" height=
"24" viewBox=
"0 0 24 24"><use href=
"#icon-2048-path"></use><use href=
"#icon-2048-text"></use></svg><span>set
<wbr/>Worker
<wbr/>Choice
<wbr/>Strategy
</span></a>
52 </div></section></div></details></section></section>
53 <section class=
"tsd-panel-group tsd-member-group">
55 <section class=
"tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id=
"emitter" class=
"tsd-anchor"></a>
56 <h3 class=
"tsd-anchor-link"><code class=
"tsd-tag ts-flagOptional">Optional
</code> <code class=
"tsd-tag ts-flagReadonly">Readonly
</code> <span>emitter
</span><a href=
"#emitter" aria-label=
"Permalink" class=
"tsd-anchor-icon"><svg class=
"icon icon-tabler icon-tabler-link" viewBox=
"0 0 24 24" stroke-width=
"2" stroke=
"currentColor" fill=
"none" stroke-linecap=
"round" stroke-linejoin=
"round"><path stroke=
"none" d=
"M0 0h24v24H0z" fill=
"none" id=
"icon-anchor-a"></path><path d=
"M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id=
"icon-anchor-b"></path><path d=
"M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id=
"icon-anchor-c"></path></svg></a></h3>
57 <div class=
"tsd-signature">emitter
<span class=
"tsd-signature-symbol">?:
</span> <a href=
"../classes/PoolEmitter.html" class=
"tsd-signature-type" data-tsd-kind=
"Class">PoolEmitter
</a></div>
58 <div class=
"tsd-comment tsd-typography"><p>Emitter on which events can be listened to.
</p>
59 <p>Events that can currently be listened to:
</p>
61 <li><code>'busy
'</code></li>
63 </div><aside class=
"tsd-sources">
65 <li>Defined in
<a href=
"https://github.com/poolifier/poolifier/blob/356d077/src/pools/pool.ts#L61">src/pools/pool.ts:
61</a></li></ul></aside></section></section>
66 <section class=
"tsd-panel-group tsd-member-group">
68 <section class=
"tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id=
"destroy" class=
"tsd-anchor"></a>
69 <h3 class=
"tsd-anchor-link"><span>destroy
</span><a href=
"#destroy" aria-label=
"Permalink" class=
"tsd-anchor-icon"><svg class=
"icon icon-tabler icon-tabler-link" viewBox=
"0 0 24 24" stroke-width=
"2" stroke=
"currentColor" fill=
"none" stroke-linecap=
"round" stroke-linejoin=
"round"><use href=
"#icon-anchor-a"></use><use href=
"#icon-anchor-b"></use><use href=
"#icon-anchor-c"></use></svg></a></h3>
70 <ul class=
"tsd-signatures tsd-kind-method tsd-parent-kind-interface">
71 <li class=
"tsd-signature tsd-anchor-link" id=
"destroy.destroy-1">destroy
<span class=
"tsd-signature-symbol">(
</span><span class=
"tsd-signature-symbol">)
</span><span class=
"tsd-signature-symbol">:
</span><span class=
"tsd-signature-type">Promise
</span><span class=
"tsd-signature-symbol"><</span><span class=
"tsd-signature-type">void
</span><span class=
"tsd-signature-symbol">></span><a href=
"#destroy.destroy-1" aria-label=
"Permalink" class=
"tsd-anchor-icon"><svg class=
"icon icon-tabler icon-tabler-link" viewBox=
"0 0 24 24" stroke-width=
"2" stroke=
"currentColor" fill=
"none" stroke-linecap=
"round" stroke-linejoin=
"round"><use href=
"#icon-anchor-a"></use><use href=
"#icon-anchor-b"></use><use href=
"#icon-anchor-c"></use></svg></a></li>
72 <li class=
"tsd-description">
73 <div class=
"tsd-comment tsd-typography"><p>Shutdowns every current worker in this pool.
</p>
75 <h4 class=
"tsd-returns-title">Returns
<span class=
"tsd-signature-type">Promise
</span><span class=
"tsd-signature-symbol"><</span><span class=
"tsd-signature-type">void
</span><span class=
"tsd-signature-symbol">></span></h4><aside class=
"tsd-sources">
77 <li>Defined in
<a href=
"https://github.com/poolifier/poolifier/blob/356d077/src/pools/pool.ts#L72">src/pools/pool.ts:
72</a></li></ul></aside></li></ul></section>
78 <section class=
"tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id=
"execute" class=
"tsd-anchor"></a>
79 <h3 class=
"tsd-anchor-link"><span>execute
</span><a href=
"#execute" aria-label=
"Permalink" class=
"tsd-anchor-icon"><svg class=
"icon icon-tabler icon-tabler-link" viewBox=
"0 0 24 24" stroke-width=
"2" stroke=
"currentColor" fill=
"none" stroke-linecap=
"round" stroke-linejoin=
"round"><use href=
"#icon-anchor-a"></use><use href=
"#icon-anchor-b"></use><use href=
"#icon-anchor-c"></use></svg></a></h3>
80 <ul class=
"tsd-signatures tsd-kind-method tsd-parent-kind-interface">
81 <li class=
"tsd-signature tsd-anchor-link" id=
"execute.execute-1">execute
<span class=
"tsd-signature-symbol">(
</span>data
<span class=
"tsd-signature-symbol">:
</span><span class=
"tsd-signature-type" data-tsd-kind=
"Type parameter">Data
</span><span class=
"tsd-signature-symbol">)
</span><span class=
"tsd-signature-symbol">:
</span><span class=
"tsd-signature-type">Promise
</span><span class=
"tsd-signature-symbol"><</span><span class=
"tsd-signature-type" data-tsd-kind=
"Type parameter">Response
</span><span class=
"tsd-signature-symbol">></span><a href=
"#execute.execute-1" aria-label=
"Permalink" class=
"tsd-anchor-icon"><svg class=
"icon icon-tabler icon-tabler-link" viewBox=
"0 0 24 24" stroke-width=
"2" stroke=
"currentColor" fill=
"none" stroke-linecap=
"round" stroke-linejoin=
"round"><use href=
"#icon-anchor-a"></use><use href=
"#icon-anchor-b"></use><use href=
"#icon-anchor-c"></use></svg></a></li>
82 <li class=
"tsd-description">
83 <div class=
"tsd-comment tsd-typography"><p>Performs the task specified in the constructor with the data parameter.
</p>
85 <h3>Returns
</h3><p>Promise that will be resolved when the task is successfully completed.
</p>
87 <div class=
"tsd-parameters">
88 <h4 class=
"tsd-parameters-title">Parameters
</h4>
89 <ul class=
"tsd-parameter-list">
91 <h5>data:
<span class=
"tsd-signature-type" data-tsd-kind=
"Type parameter">Data
</span></h5>
92 <div class=
"tsd-comment tsd-typography"><p>The input for the specified task. This can only be serializable data.
</p>
93 </div></li></ul></div>
94 <h4 class=
"tsd-returns-title">Returns
<span class=
"tsd-signature-type">Promise
</span><span class=
"tsd-signature-symbol"><</span><span class=
"tsd-signature-type" data-tsd-kind=
"Type parameter">Response
</span><span class=
"tsd-signature-symbol">></span></h4><aside class=
"tsd-sources">
96 <li>Defined in
<a href=
"https://github.com/poolifier/poolifier/blob/356d077/src/pools/pool.ts#L68">src/pools/pool.ts:
68</a></li></ul></aside></li></ul></section>
97 <section class=
"tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id=
"setWorkerChoiceStrategy" class=
"tsd-anchor"></a>
98 <h3 class=
"tsd-anchor-link"><span>set
<wbr/>Worker
<wbr/>Choice
<wbr/>Strategy
</span><a href=
"#setWorkerChoiceStrategy" aria-label=
"Permalink" class=
"tsd-anchor-icon"><svg class=
"icon icon-tabler icon-tabler-link" viewBox=
"0 0 24 24" stroke-width=
"2" stroke=
"currentColor" fill=
"none" stroke-linecap=
"round" stroke-linejoin=
"round"><use href=
"#icon-anchor-a"></use><use href=
"#icon-anchor-b"></use><use href=
"#icon-anchor-c"></use></svg></a></h3>
99 <ul class=
"tsd-signatures tsd-kind-method tsd-parent-kind-interface">
100 <li class=
"tsd-signature tsd-anchor-link" id=
"setWorkerChoiceStrategy.setWorkerChoiceStrategy-1">set
<wbr/>Worker
<wbr/>Choice
<wbr/>Strategy
<span class=
"tsd-signature-symbol">(
</span>workerChoiceStrategy
<span class=
"tsd-signature-symbol">:
</span><span class=
"tsd-signature-type">"ROUND_ROBIN
"</span><span class=
"tsd-signature-symbol"> |
</span><span class=
"tsd-signature-type">"LESS_RECENTLY_USED
"</span><span class=
"tsd-signature-symbol"> |
</span><span class=
"tsd-signature-type">"FAIR_SHARE
"</span><span class=
"tsd-signature-symbol"> |
</span><span class=
"tsd-signature-type">"WEIGHTED_ROUND_ROBIN
"</span><span class=
"tsd-signature-symbol">)
</span><span class=
"tsd-signature-symbol">:
</span><span class=
"tsd-signature-type">void
</span><a href=
"#setWorkerChoiceStrategy.setWorkerChoiceStrategy-1" aria-label=
"Permalink" class=
"tsd-anchor-icon"><svg class=
"icon icon-tabler icon-tabler-link" viewBox=
"0 0 24 24" stroke-width=
"2" stroke=
"currentColor" fill=
"none" stroke-linecap=
"round" stroke-linejoin=
"round"><use href=
"#icon-anchor-a"></use><use href=
"#icon-anchor-b"></use><use href=
"#icon-anchor-c"></use></svg></a></li>
101 <li class=
"tsd-description">
102 <div class=
"tsd-comment tsd-typography"><p>Sets the worker choice strategy in this pool.
</p>
104 <div class=
"tsd-parameters">
105 <h4 class=
"tsd-parameters-title">Parameters
</h4>
106 <ul class=
"tsd-parameter-list">
108 <h5>workerChoiceStrategy:
<span class=
"tsd-signature-type">"ROUND_ROBIN
"</span><span class=
"tsd-signature-symbol"> |
</span><span class=
"tsd-signature-type">"LESS_RECENTLY_USED
"</span><span class=
"tsd-signature-symbol"> |
</span><span class=
"tsd-signature-type">"FAIR_SHARE
"</span><span class=
"tsd-signature-symbol"> |
</span><span class=
"tsd-signature-type">"WEIGHTED_ROUND_ROBIN
"</span></h5>
109 <div class=
"tsd-comment tsd-typography"><p>The worker choice strategy.
</p>
110 </div></li></ul></div>
111 <h4 class=
"tsd-returns-title">Returns
<span class=
"tsd-signature-type">void
</span></h4><aside class=
"tsd-sources">
113 <li>Defined in
<a href=
"https://github.com/poolifier/poolifier/blob/356d077/src/pools/pool.ts#L78">src/pools/pool.ts:
78</a></li></ul></aside></li></ul></section></section></div>
114 <div class=
"col-4 col-menu menu-sticky-wrap menu-highlight">
115 <div class=
"tsd-navigation settings">
116 <details class=
"tsd-index-accordion"><summary class=
"tsd-accordion-summary">
117 <h3><svg width=
"20" height=
"20" viewBox=
"0 0 24 24" fill=
"none"><path d=
"M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill=
"var(--color-text)"></path></svg> Settings
</h3></summary>
118 <div class=
"tsd-accordion-details">
119 <div class=
"tsd-filter-visibility">
120 <h4 class=
"uppercase">Member Visibility
</h4><form>
121 <ul id=
"tsd-filter-options">
122 <li class=
"tsd-filter-item"><label class=
"tsd-filter-input"><input type=
"checkbox" id=
"tsd-filter-protected" name=
"protected"/><svg width=
"32" height=
"32" viewBox=
"0 0 32 32" aria-hidden=
"true"><rect class=
"tsd-checkbox-background" width=
"30" height=
"30" x=
"1" y=
"1" rx=
"6" fill=
"none"></rect><path class=
"tsd-checkbox-checkmark" d=
"M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke=
"none" stroke-width=
"3.5" stroke-linejoin=
"round" fill=
"none"></path></svg><span>Protected
</span></label></li>
123 <li class=
"tsd-filter-item"><label class=
"tsd-filter-input"><input type=
"checkbox" id=
"tsd-filter-private" name=
"private"/><svg width=
"32" height=
"32" viewBox=
"0 0 32 32" aria-hidden=
"true"><rect class=
"tsd-checkbox-background" width=
"30" height=
"30" x=
"1" y=
"1" rx=
"6" fill=
"none"></rect><path class=
"tsd-checkbox-checkmark" d=
"M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke=
"none" stroke-width=
"3.5" stroke-linejoin=
"round" fill=
"none"></path></svg><span>Private
</span></label></li>
124 <li class=
"tsd-filter-item"><label class=
"tsd-filter-input"><input type=
"checkbox" id=
"tsd-filter-inherited" name=
"inherited" checked
/><svg width=
"32" height=
"32" viewBox=
"0 0 32 32" aria-hidden=
"true"><rect class=
"tsd-checkbox-background" width=
"30" height=
"30" x=
"1" y=
"1" rx=
"6" fill=
"none"></rect><path class=
"tsd-checkbox-checkmark" d=
"M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke=
"none" stroke-width=
"3.5" stroke-linejoin=
"round" fill=
"none"></path></svg><span>Inherited
</span></label></li>
125 <li class=
"tsd-filter-item"><label class=
"tsd-filter-input"><input type=
"checkbox" id=
"tsd-filter-external" name=
"external"/><svg width=
"32" height=
"32" viewBox=
"0 0 32 32" aria-hidden=
"true"><rect class=
"tsd-checkbox-background" width=
"30" height=
"30" x=
"1" y=
"1" rx=
"6" fill=
"none"></rect><path class=
"tsd-checkbox-checkmark" d=
"M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke=
"none" stroke-width=
"3.5" stroke-linejoin=
"round" fill=
"none"></path></svg><span>External
</span></label></li></ul></form></div>
126 <div class=
"tsd-theme-toggle">
127 <h4 class=
"uppercase">Theme
</h4><select id=
"theme"><option value=
"os">OS
</option><option value=
"light">Light
</option><option value=
"dark">Dark
</option></select></div></div></details></div>
128 <nav class=
"tsd-navigation primary">
129 <details class=
"tsd-index-accordion" open
><summary class=
"tsd-accordion-summary">
130 <h3><svg width=
"20" height=
"20" viewBox=
"0 0 24 24" fill=
"none"><path d=
"M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill=
"var(--color-text)"></path></svg> Modules
</h3></summary>
131 <div class=
"tsd-accordion-details">
133 <li><a href=
"../index.html">poolifier
</a>
134 <ul></ul></li></ul></div></details></nav>
135 <nav class=
"tsd-navigation secondary menu-sticky">
137 <li class=
"current tsd-kind-interface"><a href=
"IPool.html" class=
"tsd-index-link"><svg class=
"tsd-kind-icon" width=
"24" height=
"24" viewBox=
"0 0 24 24"><rect fill=
"var(--color-icon-background)" stroke=
"var(--color-ts-interface)" stroke-width=
"1.5" x=
"1" y=
"1" width=
"22" height=
"22" rx=
"6" id=
"icon-256-path"></rect><path d=
"M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill=
"var(--color-text)" id=
"icon-256-text"></path></svg><span>IPool
</span></a>
139 <li class=
"tsd-kind-property tsd-parent-kind-interface"><a href=
"IPool.html#emitter" class=
"tsd-index-link"><svg class=
"tsd-kind-icon" width=
"24" height=
"24" viewBox=
"0 0 24 24"><use href=
"#icon-1024-path"></use><use href=
"#icon-1024-text"></use></svg>emitter?
</a></li>
140 <li class=
"tsd-kind-method tsd-parent-kind-interface"><a href=
"IPool.html#destroy" class=
"tsd-index-link"><svg class=
"tsd-kind-icon" width=
"24" height=
"24" viewBox=
"0 0 24 24"><use href=
"#icon-2048-path"></use><use href=
"#icon-2048-text"></use></svg>destroy
</a></li>
141 <li class=
"tsd-kind-method tsd-parent-kind-interface"><a href=
"IPool.html#execute" class=
"tsd-index-link"><svg class=
"tsd-kind-icon" width=
"24" height=
"24" viewBox=
"0 0 24 24"><use href=
"#icon-2048-path"></use><use href=
"#icon-2048-text"></use></svg>execute
</a></li>
142 <li class=
"tsd-kind-method tsd-parent-kind-interface"><a href=
"IPool.html#setWorkerChoiceStrategy" class=
"tsd-index-link"><svg class=
"tsd-kind-icon" width=
"24" height=
"24" viewBox=
"0 0 24 24"><use href=
"#icon-2048-path"></use><use href=
"#icon-2048-text"></use></svg>set
<wbr/>Worker
<wbr/>Choice
<wbr/>Strategy
</a></li></ul></li></ul></nav></div></div>
143 <div class=
"container tsd-generator">
144 <p>Generated using
<a href=
"https://typedoc.org/" target=
"_blank">TypeDoc
</a></p></div>
145 <div class=
"overlay"></div><script src=
"../assets/main.js"></script></body></html>