perf: speed up dynamic worker termination
[poolifier.git] / CHANGELOG.md
CommitLineData
522eea03 1# Changelog
2
3All notable changes to this project will be documented in this file.
4
d4abc60a 5The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
522eea03 6and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
45a5a54c
JB
8## [Unreleased]
9
aa9eede8
JB
10### Changed
11
7c89e6a4 12- Drastically reduce lookups by worker in the worker nodes.
aa9eede8 13
62485908
JB
14## [2.6.19] - 2023-07-20
15
2e2ef9c3
JB
16### Added
17
18- Dedicated internal communication channel for worker_threads pools.
19
8f4c9491
JB
20## [2.6.18] - 2023-07-19
21
8660b972
JB
22### Changed
23
24- Code refactoring and cleanup for better maintainability and readability. Bundle size is a bit smaller.
25
206a3519
JB
26## [2.6.17] - 2023-07-16
27
b4899fae
JB
28### Added
29
b569873d 30- Add `listTaskFunctions()` method to worker class.
b4899fae 31
58a06a6c
JB
32## [2.6.16] - 2023-07-12
33
2a69b8c5
JB
34### Fixed
35
80520ca4 36- Fix pool startup detection.
2a69b8c5
JB
37- Fix worker task functions handling.
38
b5900b02
JB
39## [2.6.15] - 2023-07-11
40
19dbc45b
JB
41### Added
42
43- Take into account worker node readiness in worker choice strategies.
44
4a0db581
JB
45## [2.6.14] - 2023-07-10
46
87e44747
JB
47### Fixed
48
49- Fix task function statistics tracking.
50
0265272f
JB
51## [2.6.13] - 2023-07-10
52
968a2e8c
JB
53### Added
54
55- Add per task function statistics tracking.
782299f8 56- Add public methods to manipulate the worker task functions at runtime.
968a2e8c 57
44c8c00f
JB
58## [2.6.12] - 2023-07-09
59
aa4bf4b2
JB
60### Fixed
61
62- Workaround import issue with `node:os` module in node 16.x.x.
63
b7cfced1
JB
64## [2.6.11] - 2023-07-09
65
d5024c00
JB
66### Fixed
67
68- Fix pool readiness semantic.
69
f313a208
JB
70## [2.6.10] - 2023-07-08
71
2431bdb4
JB
72### Fixed
73
74- Ensure workers are not recreated on error at pool startup.
75
76### Added
77
78- Add `ready` and `strategy` fields to pool information.
79- Add pool event `ready` to notify when the number of workers created in the pool has reached the maximum size expected and are ready.
caadbd41 80- Add dynamic pool sizing checks.
2431bdb4 81
369d0a51
JB
82## [2.6.9] - 2023-07-07
83
2845f2a5
JB
84### Fixed
85
86- Recreate the right worker type on uncaught exception.
87
88### Added
89
90- Add minimum and maximum to internal measurement statistics.
1dcf8b7b 91- Add `runTime` and `waitTime` to pool information.
75d3401a 92- Check worker inactive time only on dynamic worker.
2845f2a5 93
fc97d613
JB
94## [2.6.8] - 2023-07-03
95
92b1feaa
JB
96### Fixed
97
98- Brown paper bag release to fix version handling in pool information.
99
52d54060
JB
100## [2.6.7] - 2023-07-03
101
5bc91f3e
JB
102### Fixed
103
104- Ensure worker queued tasks at error are reassigned to other pool workers.
105
afe0d5bf
JB
106### Added
107
108- Add pool `utilization` ratio to pool information.
23ccf9d7 109- Add `version` to pool information.
e5b3047d 110- Add worker information to worker nodes.
afe0d5bf 111
f42c583f
JB
112## [2.6.6] - 2023-07-01
113
6961ca9a
JB
114### Added
115
116- Add safe helper `availableParallelism` to help sizing the pool.
117
3749facb
JB
118### Fixed
119
120- Ensure message handler is only registered in worker.
121
6fed2513
JB
122## [2.6.5] - 2023-06-27
123
c72f6987
JB
124### Known issues
125
70726c28 126- Cluster pools tasks execution are not working by using ESM files extension: https://github.com/poolifier/poolifier/issues/782
c72f6987
JB
127
128### Fixed
129
130- Artificial version bump to 2.6.5 to workaround publication issue.
131- Ensure cluster pool destroy() gracefully shutdowns worker's server.
132- Ensure pool event is emitted before task error promise rejection.
133- Fix queued tasks count computation.
134
135### Removed
136
2fbe1783 137- Remove unneeded worker_threads worker `MessageChannel` internal usage for IPC.
c72f6987 138
6426631b
JB
139## [2.6.4] - 2023-06-27
140
941f9a7c
JB
141### Known issues
142
70726c28 143- Cluster pools tasks execution are not working by using ESM files extension: https://github.com/poolifier/poolifier/issues/782
941f9a7c 144
2c039e43
JB
145### Fixed
146
147- Ensure cluster pool destroy() gracefully shutdowns worker's server.
148- Ensure pool event is emitted before task error promise rejection.
9c16fb4b 149- Fix queued tasks count computation.
2c039e43 150
941f9a7c
JB
151### Removed
152
2fbe1783 153- Remove unneeded worker_threads worker `MessageChannel` internal usage for IPC.
941f9a7c 154
bc1b0765
JB
155## [2.6.3] - 2023-06-19
156
a6a2dc4c
JB
157### Fixed
158
159- Ensure no tasks are queued when trying to soft kill a dynamic worker.
f0d7f803 160- Update strategies internals after statistics computation.
a6a2dc4c 161
7b56f532
JB
162### Changed
163
164- Optimize O(1) queue implementation.
165
b628596c
JB
166## [2.6.2] - 2023-06-12
167
a9e89d00
JB
168### Fixed
169
170- Fix new worker use after creation in dynamic pool given the current worker choice strategy.
171
4368a898
JB
172## [2.6.1] - 2023-06-10
173
931d43e2
JB
174### Added
175
176- Add worker choice strategy documentation: [README.md](./src/pools/selection-strategies/README.md).
177
f1c06930
JB
178### Fixed
179
180- Fix average statistics computation: ensure failed tasks are not accounted.
181
16671b07
JB
182## [2.6.0] - 2023-06-09
183
a1347286
JB
184### Added
185
5af9c0f7 186- Add `LEAST_ELU` worker choice strategy (experimental).
9adcefab 187- Add tasks ELU instead of runtime support to `FAIR_SHARE` worker choice strategy.
a1347286 188
1c6fe997
JB
189### Changed
190
191- Refactor pool worker node usage internals.
477f48e7 192- Breaking change: refactor worker choice strategy statistics requirements: the syntax of the worker choice strategy options has changed.
f63a9dda 193- Breaking change: pool information `info` property object fields have been renamed.
1c6fe997
JB
194
195### Fixed
196
197- Fix wait time accounting.
198- Ensure worker choice strategy `LEAST_BUSY` accounts also tasks wait time.
199- Ensure worker choice strategy `LEAST_USED` accounts also queued tasks.
200
aa07d6ee
JB
201## [2.5.4] - 2023-06-07
202
b6b32453
JB
203### Added
204
205- Add Event Loop Utilization (ELU) statistics to worker tasks usage.
206
207### Changed
208
209- Compute statistics at the worker level only if needed.
2fbe1783 210- Add `worker_threads` options to thread pool options.
b6b32453 211
272d4d8f
JB
212### Fixed
213
214- Make the `LEAST_BUSY` strategy only relies on task runtime.
215
ed47fb3d
JB
216## [2.5.3] - 2023-06-04
217
89a4abfd
JB
218### Changed
219
220- Refine pool information content.
b4213b7f 221- Limit pool internals public exposure.
89a4abfd 222
8a9febf5
JB
223## [2.5.2] - 2023-06-02
224
91ee39ed
JB
225### Added
226
227- Add `taskError` pool event for task execution error.
6b27d407 228- Add pool information `info` property to pool.
91ee39ed
JB
229- Emit pool information on `busy` and `full` pool events.
230
8babb151
JB
231## [2.5.1] - 2023-06-01
232
0e05c4dc
JB
233### Added
234
1f68cede 235- Add pool option `restartWorkerOnError` to restart worker on uncaught error. Default to `true`.
91ee39ed 236- Add `error` pool event for uncaught worker error.
0e05c4dc 237
a8766181
JB
238## [2.5.0] - 2023-05-31
239
e4543b14
JB
240### Added
241
242- Switch pool event emitter to `EventEmitterAsyncResource`.
6da80d38 243- Add tasks wait time accounting in per worker tasks usage.
5af9c0f7 244- Add interleaved weighted round robin `INTERLEAVED_WEIGHTED_ROUND_ROBIN` worker choice strategy (experimental).
e4543b14
JB
245
246### Changed
247
248- Renamed worker choice strategy `LESS_BUSY` to `LEAST_BUSY` and `LESS_USED` to `LEAST_USED`.
249
570efb11
JB
250## [2.4.14] - 2023-05-09
251
b0f28bad
JB
252### Fixed
253
254- Ensure no undefined task runtime can land in the tasks history.
255- Fix median computation implementation once again.
256
110b6d13
JB
257### Added
258
259- Unit tests for median and queue implementations.
260
72584880
JB
261## [2.4.13] - 2023-05-08
262
b0d6ed8f
JB
263### Fixed
264
e3058615 265- Fix worker choice strategy options validation.
b0d6ed8f
JB
266- Fix fair share worker choice strategy internals update: ensure virtual task end timestamp is computed at task submission.
267
06140c32
JB
268## [2.4.12] - 2023-05-06
269
a86b6df1
JB
270### Added
271
272- Support multiple task functions per worker.
08f3f44c 273- Add custom worker weights support to worker choice strategies options.
a86b6df1 274
29ee7e9a
JB
275### Changed
276
277- Use O(1) queue implementation for tasks queueing.
278
0682ba15
JB
279### Fixed
280
281- Fix median computation implementation.
282- Fix fair share worker choice strategy internals update.
283
936d53ec
JB
284## [2.4.11] - 2023-04-23
285
cb70b19d
JB
286### Changed
287
288- Optimize free worker finding in worker choice strategies.
289
15bb637a
JB
290## [2.4.10] - 2023-04-15
291
ef41a6e6
JB
292### Fixed
293
294- Fix typescript type definition for worker function: ensure the input data is optional.
295- Fix typescript type definition for pool execute(): ensure the input data is optional.
296
181eb2b4
JB
297## [2.4.9] - 2023-04-15
298
a20f0ba5
JB
299### Added
300
301- Add tasks queue enablement runtime setter to pool.
302- Add tasks queue options runtime setter to pool.
303- Add worker choice strategy options runtime setter to pool.
304
305### Changed
306
307- Remove the tasks queuing experimental status.
308
d4aeae5a
JB
309### Fixed
310
311- Fix worker function type definition and validation.
2fc5cae3 312- Fix worker choice strategy options handling.
d4aeae5a 313
1d9e7023
JB
314## [2.4.8] - 2023-04-12
315
f9b4bbf8
JB
316### Fixed
317
318- Fix message between main worker and worker type definition for tasks.
319- Fix code documentation.
320
12ae3210
JB
321## [2.4.7] - 2023-04-11
322
7171d33f
JB
323### Added
324
325- Add worker tasks queue options to pool options.
326
e8bd29ce
JB
327### Fixed
328
329- Fix missing documentation.
330
42c7bc10
JB
331## [2.4.6] - 2023-04-10
332
681196cc
JB
333### Fixed
334
335- Ensure one task at a time is executed per worker with tasks queueing enabled.
1c6fe997 336- Properly count worker executing tasks with tasks queueing enabled.
681196cc 337
54d360e3
JB
338## [2.4.5] - 2023-04-09
339
3fafb1b2
JB
340### Added
341
9e775f96
JB
342- Use monotonic high resolution timer for worker tasks runtime.
343- Add worker tasks median runtime to statistics.
ff733df7 344- Add worker tasks queue (experimental).
3fafb1b2 345
92fa3eb6
JB
346## [2.4.4] - 2023-04-07
347
aee46736
JB
348### Added
349
350- Add `PoolEvents` enumeration and `PoolEvent` type.
351
36b5e78f
JB
352### Fixed
353
ff0c2b3e 354- Destroy worker only on alive check.
36b5e78f 355
9fb0f324
JB
356## [2.4.3] - 2023-04-07
357
28cf3617
JB
358### Fixed
359
360- Fix typedoc generation with inheritance.
361
848f0f27
JB
362## [2.4.2] - 2023-04-06
363
164d950a
JB
364### Added
365
366- Add `full` event to dynamic pool.
32417142 367- Keep worker choice strategy in memory for conditional reuse.
164d950a 368
78ab2555
JB
369### Fixed
370
371- Fix possible negative worker key at worker removal in worker choice strategies.
372
79aafe9f
JB
373## [2.4.1] - 2023-04-05
374
9cd39dd4
JB
375### Changed
376
377- Optimize worker choice strategy for dynamic pool.
378
965415bb
JB
379### Fixed
380
381- Ensure dynamic pool does not alter worker choice strategy expected behavior.
382
d8b60b1c
JB
383## [2.4.0] - 2023-04-04
384
c6bd2650
JB
385### Added
386
387- Add `LESS_BUSY` worker choice strategy.
388
389### Changed
390
391- Optimize worker storage in pool.
392- Optimize worker alive status check.
393- BREAKING CHANGE: Rename worker choice strategy `LESS_RECENTLY_USED` to `LESS_USED`.
394- Optimize `LESS_USED` worker choice strategy.
395- Update benchmarks versus external threads pools.
396- Optimize tasks usage statistics requirements for worker choice strategy.
397
398### Fixed
399
400- Ensure trimmable characters are checked at pool initialization.
401- Fix message id integer overflow.
402- Fix pool worker removal in worker choice strategy internals.
403- Fix package publication with pnpm.
404
d0a3f018
JB
405## [2.4.0-3] - 2023-04-04
406
b2ede285
JB
407### Added
408
409- Add `LESS_BUSY` worker choice strategy.
410
411### Changed
412
413- Optimize worker storage in pool.
414- Optimize worker alive status check.
415- BREAKING CHANGE: Rename worker choice strategy `LESS_RECENTLY_USED` to `LESS_USED`.
416- Optimize `LESS_USED` worker choice strategy.
417- Update benchmarks versus external threads pools.
418
419### Fixed
420
421- Ensure trimmable characters are checked at pool initialization.
422- Fix message id integer overflow.
423- Fix pool worker removal in worker choice strategy internals.
424- Fix package publication with pnpm.
425
a015ea40
JB
426## [2.4.0-2] - 2023-04-03
427
698f4bbc
JB
428### Added
429
430- Add `LESS_BUSY` worker choice strategy.
431
432### Changed
433
434- Optimize worker storage in pool.
435- Optimize worker alive status check.
436- BREAKING CHANGE: Rename worker choice strategy `LESS_RECENTLY_USED` to `LESS_USED`.
437- Optimize `LESS_USED` worker choice strategy.
438
439### Fixed
440
441- Ensure trimmable characters are checked at pool initialization.
442- Fix message id integer overflow.
443- Fix pool worker removal in worker choice strategy internals.
444- Fix package publication with pnpm.
445
8fe15920
JB
446## [2.4.0-1] - 2023-04-03
447
5b301c28
JB
448### Added
449
450- Add `LESS_BUSY` worker choice strategy.
451
452### Changed
453
454- Optimize worker storage in pool.
455- Optimize worker alive status check.
456- BREAKING CHANGE: Rename worker choice strategy `LESS_RECENTLY_USED` to `LESS_USED`.
457- Optimize `LESS_USED` worker choice strategy.
458
459### Fixed
460
461- Ensure trimmable characters are checked at pool initialization.
462- Fix message id integer overflow.
463- Fix pool worker removal in worker choice strategy internals.
464
2fb9ca9c
JB
465## [2.4.0-0] - 2023-04-03
466
168c526f
JB
467### Added
468
469- Add `LESS_BUSY` worker choice strategy.
470
1d71a908
JB
471### Changed
472
ffcbbad8 473- Optimize worker storage in pool.
1d71a908 474- Optimize worker alive status check.
65a60b3b 475- BREAKING CHANGE: Rename worker choice strategy `LESS_RECENTLY_USED` to `LESS_USED`.
737c6d97 476- Optimize `LESS_USED` worker choice strategy.
1d71a908 477
ffcbbad8
JB
478### Fixed
479
480- Ensure trimmable characters are checked at pool initialization.
b4e75778 481- Fix message id integer overflow.
97a2abc3 482- Fix pool worker removal in worker choice strategy internals.
ffcbbad8 483
08372738
JB
484## [2.3.10] - 2023-03-18
485
710826bc
JB
486### Fixed
487
488- Fix `exports` syntax for ESM and CommonJS.
489
490### Changed
491
492- Permit SemVer pre-release publication.
76e5ac6f 493
e4796ecd
JB
494## [2.3.10-2] - 2023-03-18
495
6abad580
JB
496### Fixed
497
498- Fix `exports` syntax for ESM and CommonJS.
499
a2ee98cc
JB
500## [2.3.10-1] - 2023-03-18
501
7e060cee
JB
502### Changed
503
90483887 504- Permit SemVer pre-release publication.
7e060cee 505
c81bfafb
JB
506## [2.3.10-0] - 2023-03-18
507
fe18768d
JB
508### Fixed
509
510- Fix `exports` syntax for ESM and CommonJS.
511
d7b78217
JB
512## [2.3.9] - 2023-03-18
513
ed6dd37f
JB
514### Changed
515
516- Introduce ESM module support along with CommonJS one.
517
518### Fixed
519
520- Fix brown paper bag bug referencing the same object literal.
521
68e2ad86
JB
522## [2.3.8] - 2023-03-18
523
ca6c7d70
JB
524### Changed
525
526- Switch internal benchmarking code to benny.
fbdedeb9
JB
527- Switch to TypeScript 5.x.x.
528- Switch rollup bundler plugins to core ones.
ed6dd37f 529- Switch to TSDoc syntax.
fbdedeb9 530- Enforce conventional commits.
ca6c7d70 531
d15211d4
JB
532### Fixed
533
534- Fix random integer generator.
fbdedeb9 535- Fix worker choice strategy pool type identification at initialization.
d15211d4 536
995705ea
JB
537## [2.3.7] - 2022-10-23
538
b953022b
JB
539### Changed
540
541- Switch to open collective FOSS project funding platform.
78cea37e
JB
542- Switch to ts-standard linter configuration on TypeScript code.
543
544### Fixed
545
546- Fixed missing async on pool execute method.
547- Fixed typing in TypeScript example.
548- Fixed types in unit tests.
b953022b 549
3b9f6953
JB
550## [2.3.6] - 2022-10-22
551
f80cead4
JB
552### Changed
553
554- Cleanup pool attributes and methods.
555- Refine error types thrown.
556
557### Fixed
558
559- Fix continuous integration build on windows.
560- Fix code coverage reporting by using c8 instead of nyc.
561
efc22107
JB
562## [2.3.5] - 2022-10-21
563
7a6a0a96
JB
564### Changed
565
a05c10de
JB
566- Improve benchmarks: add IO intensive task workload, add task size option, integrate code into linter.
567- Optimize tasks usage lookup implementation.
7a6a0a96 568
b4904890
JB
569### Fixed
570
571- Fix missed pool event emitter type export.
572- Fix typedoc documentation generation.
573
a875f8d1
JB
574## [2.3.4] - 2022-10-17
575
73cda448
JB
576### Added
577
578- Fully automate release process with release-it.
579
45a5a54c
JB
580### Changed
581
73cda448 582- Optimize fair share task scheduling algorithm implementation.
eb4a8a82 583- Update benchmarks versus external pools results with latest version.
45a5a54c 584
90ee1b18 585## [2.3.3] - 2022-10-15
1a76932b
JB
586
587### Added
588
589- Add support for [cluster settings](https://nodejs.org/api/cluster.html#cluster_cluster_settings) in cluster pool options.
590
90ee1b18 591## [2.3.2] - 2022-10-14
11df3590
JB
592
593### Changed
594
595- Optimize fair share worker selection strategy implementation.
596
597### Fixed
598
599- Fix WRR worker selection strategy: ensure the condition triggering the round robin can be fulfilled.
600
90ee1b18 601## [2.3.1] - 2022-10-13
23ff945a
JB
602
603### Added
604
605- Pool worker choice strategies:
606 - `WorkerChoiceStrategies.WEIGHTED_ROUND_ROBIN` strategy based on weighted round robin scheduling algorithm using tasks execution time for now.
607 - `WorkerChoiceStrategies.FAIR_SHARE` strategy based on fair share scheduling algorithm using tasks execution time for now.
608
90ee1b18 609## [2.2.2] - 2022-10-09
cb2b6c69
JB
610
611### Fixed
612
613- Fixed `README.md` file.
614
90ee1b18 615## [2.2.1] - 2022-10-08
bdacc2d2 616
bdaf31cd
JB
617### Added
618
619- Dynamic worker choice strategy change at runtime.
bdacc2d2 620
90ee1b18 621## [2.2.0] - 2022-01-05
7e0d447f
JB
622
623### Breaking Changes
624
625- Support only NodeJS version 16.x.x for cluster pool: upstream cluster API have changed on that version.
626
90ee1b18 627## [2.1.0] - 2021-08-29
35cf1c03
JB
628
629### Added
630
631- Add an optional pool option `messageHandler` to `PoolOptions<Worker>` for registering a message handler callback on each worker.
e088a00c
JB
632
633### Breaking Changes
634
635- `AbstractWorker` class `maxInactiveTime`, `killBehavior` and `async` attributes have been removed in favour of the same ones in the worker options `opts` public attribute.
636- `AbstractWorker` class `lastTask` attribute have been renamed to `lastTaskTimestamp`.
637- `AbstractWorker` class `interval` attribute have been renamed to `aliveInterval`.
c365b2d3 638- `AbstractWorker` class cannot be instantiated without specifying the `mainWorker` argument referencing the main worker.
e088a00c 639
90ee1b18 640## [2.0.2] - 2021-05-12
14916bf9
JB
641
642### Bug fixes
643
644- Fix `busy` event emission on fixed pool type
645
90ee1b18 646## [2.0.1] - 2021-03-16
7f685093
JB
647
648### Bug fixes
649
650- Check if pool options are properly set.
651- `busy` event is emitted on all pool types.
652
90ee1b18 653## [2.0.0] - 2021-03-01
fa0f5b28 654
f3f833ab 655### Bug fixes
d63d3be3 656
ddbeaffd 657- Now a thread/process by default is not deleted when the task submitted take more time than maxInactiveTime configured (issue #70).
d63d3be3 658
fa0f5b28
S
659### Breaking Changes
660
7f685093 661- `FullPool` event is now renamed to `busy`.
1927ee67 662- `maxInactiveTime` on `ThreadWorker` default behavior is now changed, if you want to keep the old behavior set `killBehavior` to `KillBehaviors.HARD`.
1a81f8af 663 _Find more details on our JSDoc._
ddbeaffd 664
1927ee67
APA
665- `maxTasks` option on `FixedThreadPool` and `DynamicThreadPool` is now removed since is no more needed.
666
ddbeaffd 667- We changed some internal structures, but you shouldn't be too affected by them as these are internal changes.
fa0f5b28 668
ec2ccfc8
JB
669### Pool options types declaration merge
670
671`FixedThreadPoolOptions` and `DynamicThreadPoolOptions` type declarations have been merged to `PoolOptions<Worker>`.
672
fa0f5b28
S
673#### New `export` strategy
674
675```js
676// Before
777b7824 677const DynamicThreadPool = require('poolifier/lib/dynamic')
fa0f5b28 678// After
777b7824 679const { DynamicThreadPool } = require('poolifier/lib/dynamic')
fa0f5b28
S
680```
681
682But you should always prefer just using
683
684```js
777b7824 685const { DynamicThreadPool } = require('poolifier')
fa0f5b28
S
686```
687
d3c8a1a8
S
688#### New type definitions for input data and response
689
6677a3d3 690For cluster worker and worker-thread pools, you can now only send and receive structured-cloneable data.
d3c8a1a8
S
691_This is not a limitation by poolifier but NodeJS._
692
3a4b605f 693#### Public property replacements
5c5a1fb7 694
3a4b605f 695`numWorkers` property is now `numberOfWorkers`
5c5a1fb7 696
280c2a77 697#### Internal (protected) properties and methods renaming
fa0f5b28 698
280c2a77
S
699These properties are not intended for end users
700
701- `id` => `nextMessageId`
702
703These methods are not intended for end users
fa0f5b28
S
704
705- `_chooseWorker` => `chooseWorker`
280c2a77 706- `_newWorker` => `createWorker`
fa0f5b28
S
707- `_execute` => `internalExecute`
708- `_chooseWorker` => `chooseWorker`
709- `_checkAlive` => `checkAlive`
710- `_run` => `run`
711- `_runAsync` => `runAsync`
712
90ee1b18 713## [1.1.0] - 2020-05-21
0312f71a
APA
714
715### Added
716
717- ThreadWorker support async functions as option
cf9aa6c3 718- Various external library patches
0312f71a 719
90ee1b18 720## [1.0.0] - 2020-01-24
522eea03 721
722### Added
723
724- FixedThreadPool implementation
725- DynamicThreadPool implementation
0312f71a 726- WorkerThread implementation to improve developer experience