You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
constdispatch=newDispatchQueue("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.