Releases: QSmally/DispatchQueue
Releases · QSmally/DispatchQueue
v0.7.6
v0.7.5
v0.7.4
v0.7.3
This release drafts a patch version of DispatchQueue.
Fixes
- Fixes stdout method target for debug outputs from
logs
configuration; - Fixes and consistency patches in documentation;
- Fixes showing additional exit information on code ≠ 0.
Improvements
- Prepare refactor by renaming
ThreadController
class toDispatchController
; - Mark DispatchThread's response state as private to avoid task desync.
v0.7.2
v0.7.1
v0.7.0
This release drafts a new version of DispatchQueue.
Fixes
- Fixes and consistency patches in documentation.
Logs
DispatchQueue can now accept a logs
boolean in the configuration object. Spawn (in DispatchThread's default onSpawn
method) and termination messages are affected by this setting. To access this parameter in a DispatchThread, the logs
property is available in the this.dataContext
object.
const dispatch = new DispatchQueue("path/to/worker.js", {
logs: true // defaults to `false`.
});
AutomaticRejectionTime
The default value for DispatchThread's static automaticRejectionTime
property has been changed to 300 milliseconds. For thread safety, Infinity
(the previous default value) is not recommended.
v0.6.3
v0.6.2
v0.6.1
This release drafts a patch version of DispatchQueue.
Fixes
- Fixes and consistency patches in documentation.
Improvements
- Move location of
dataContext
intoDispatchQueue
; - Patch unit tests to include additional debugging information;
- Type definition for the
Pathlike
reference.