@travetto/worker
Advanced tools
Comparing version 5.0.0 to 5.0.1
@@ -1,8 +0,5 @@ | ||
export * from './src/comm/channel'; | ||
export * from './src/comm/child'; | ||
export * from './src/comm/parent'; | ||
export * from './src/comm/types'; | ||
export * from './src/support/barrier'; | ||
export * from './src/support/timeout'; | ||
export * from './src/support/error'; | ||
export * from './src/ipc/channel'; | ||
export * from './src/ipc/child'; | ||
export * from './src/ipc/parent'; | ||
export * from './src/ipc/types'; | ||
export * from './src/pool'; |
{ | ||
"name": "@travetto/worker", | ||
"version": "5.0.0", | ||
"version": "5.0.1", | ||
"description": "Process management utilities, with a focus on inter-process communication", | ||
@@ -28,3 +28,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@travetto/runtime": "^5.0.0", | ||
"@travetto/runtime": "^5.0.1", | ||
"generic-pool": "^3.9.0" | ||
@@ -31,0 +31,0 @@ }, |
@@ -22,2 +22,2 @@ <!-- This file was generated by @travetto/doc and should not be modified directly --> | ||
## IPC Support | ||
Within the `comm` package, there is support for two primary communication elements: [ChildCommChannel](https://github.com/travetto/travetto/tree/main/module/worker/src/comm/child.ts#L6) and [ParentCommChannel](https://github.com/travetto/travetto/tree/main/module/worker/src/comm/parent.ts#L10). Usually [ParentCommChannel](https://github.com/travetto/travetto/tree/main/module/worker/src/comm/parent.ts#L10) indicates it is the owner of the sub process. [ChildCommChannel](https://github.com/travetto/travetto/tree/main/module/worker/src/comm/child.ts#L6) indicates that it has been created/spawned/forked by the parent and will communicate back to it's parent. This generally means that a [ParentCommChannel](https://github.com/travetto/travetto/tree/main/module/worker/src/comm/parent.ts#L10) can be destroyed (i.e. killing the subprocess) where a [ChildCommChannel](https://github.com/travetto/travetto/tree/main/module/worker/src/comm/child.ts#L6) can only exit the process, but the channel cannot be destroyed. | ||
Within the `comm` package, there is support for two primary communication elements: [ChildCommChannel](https://github.com/travetto/travetto/tree/main/module/worker/src/ipc/child.ts#L6) and [ParentCommChannel](https://github.com/travetto/travetto/tree/main/module/worker/src/ipc/parent.ts#L10). Usually [ParentCommChannel](https://github.com/travetto/travetto/tree/main/module/worker/src/ipc/parent.ts#L10) indicates it is the owner of the sub process. [ChildCommChannel](https://github.com/travetto/travetto/tree/main/module/worker/src/ipc/child.ts#L6) indicates that it has been created/spawned/forked by the parent and will communicate back to it's parent. This generally means that a [ParentCommChannel](https://github.com/travetto/travetto/tree/main/module/worker/src/ipc/parent.ts#L10) can be destroyed (i.e. killing the subprocess) where a [ChildCommChannel](https://github.com/travetto/travetto/tree/main/module/worker/src/ipc/child.ts#L6) can only exit the process, but the channel cannot be destroyed. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13195
9
281
1
Updated@travetto/runtime@^5.0.1