Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@effection/process

thefrontside21.3kMIT2.1.4TypeScript support: included

Spawn and manage external processes with Effection

readme

@effection/process

License: MIT Created by Frontside Chat on Discord

Effection is the structured concurrency toolkit for JavaScript. You can find detailed information about using effection to manage system process in node in the spawning processes guide

changelog

@effection/process

[2.1.4]

Dependencies

[2.1.3]

Dependencies

  • Updated to latest @effection/core
  • Updated to latest effection

[2.1.2]

[2.1.1]

  • Bump the ctrlc-windows package to include the new build process and remove all dependencies.
    • 4b7ca17 bump ctrlc-windows to 2.1.0 on 2022-09-21

[2.1.0]

  • The shell option now accepts a string which allows one to specify an exact shell to run a command. This is helpful on windows as the default generally doesn't handle bash-like syntax.
    • 31d8512 change file on 2022-03-29

[2.0.4]

  • Allow pass object with Symbol.operation as an operation
    • Bumped due to a bump in effection.
    • 3e7daa8 add changelog on 2022-01-26
    • c623a84 remove fetch and process packages from changes list on 2022-01-26

[2.0.3]

  • Remove redundant node-fetch from dependencies
    • Bumped due to a bump in effection.
    • b4a87d5 Add change file for covector on 2022-01-24

[2.0.2]

  • Extract AbortSignal from @effection/fetch to @effection/core as a resource
    • Bumped due to a bump in effection.
    • 8ac2e85 Add covector change file on 2021-11-18
    • b6d0e15 Patch for fetch and not minor on 2021-11-19

[2.0.1]

[2.0.0]

  • Release Effection 2.0.0

[2.0.0-beta.21]

  • Yielding to something which is not an operation no longer throws an internal error, but properly rejects the task.
    • Bumped due to a bump in @effection/core.
    • a3ad19a Fix yielding non operation bug on 2021-10-07

[2.0.0-beta.20]

  • Fix a bug when using blockParent where the children are not getting halt on an explicit halt.
    • Bumped due to a bump in @effection/core.
    • 1cd9803 Fix halting children for blockParent tasks on 2021-09-30

[2.0.0-beta.19]

  • Add Stream toBuffer and Stream buffered so we have both options on either accessing the buffer directly or returning the stream.
    • Bumped due to a bump in @effection/stream.
    • fe60532 Add both toBuffer and buffered to Stream on 2021-09-30

[2.0.0-beta.18]

  • Stream buffer returns the actual buffer and gives direct access to it
    • Bumped due to a bump in @effection/stream.
    • 07c8f83 Stream buffer returns the actual buffer on 2021-09-30

[2.0.0-beta.17]

    • 0248d79 Add package readmes on 2021-09-28
  • The stdout and stderr properties now return OutputStream instead of regular Stream. Addiotionally, the buffered option has been removed.
    • 4e9cb50 Improve process streams on 2021-09-22
  • Split off Stream from subscription package into its own @effection/stream package
    • 248de1d Split Stream into its own package on 2021-09-27

[2.0.0-beta.16]

  • Adjust the propagation of errors for resources to make it possible to catch errors from init
    • Bumped due to a bump in @effection/core.
    • 75a7248 Catch errors thrown during resource init on 2021-09-21
  • Enable support for resources in higher order operations all, race and withTimeout.
    • Bumped due to a bump in @effection/core.
    • bbe6cdc Enable resource support for higher order operations on 2021-09-09

[2.0.0-beta.15]

  • Add shortcuts to create resolved/rejected/halted futures via Future.resolve(123), etc...
    • Bumped due to a bump in @effection/core.
    • 9599dde Add shortcuts for resolves/rejected/halted future on 2021-09-08

[2.0.0-beta.14]

  • Improve naming scheme for process labels
    • 82f31cd Improve naming scheme of exec labels on 2021-09-06
  • Apply labels to the operations. These will improve error output and show up in the effection inspector.
    • 74160a5 label @effection/process Operations on 2021-07-20

[2.0.0-beta.13]

  • Allow channels to be named so their internal stream gets named
    • Bumped due to a bump in @effection/channel.
    • c52018a Allow channels to be named on 2021-08-27

[2.0.0-beta.12]

  • Update core dependency
    • Bumped due to a bump in @effection/mocha.
    • d92eee5 Update core dependency on 2021-08-16

[2.0.0-beta.11]

  • Use Object.create to wrap error objects rather than copying properties
    • Bumped due to a bump in @effection/core.
    • a56ae2a Use Object.create to create error object with trace on 2021-08-16

[2.0.0-beta.10]

  • add Task#spawn operation to spawn new task with a specific scope
    • Bumped due to a bump in @effection/core.
    • a71d65b Add changefile on 2021-07-27

[2.0.0-beta.9]

  • Add sideEffects field to package.json
    • 383141d Add sideEffects field to package.json (#470) on 2021-08-05

[2.0.0-beta.8]

  • The dist directory didn't contain the esm and cjs directory. We copy the package.json for reference into the dist, and this broke the files resolution. Switch to using dist-cjs and dist-esm which allows us to avoid copying package.json.
    • 63fbcfb fix: @effection/core to ship dist/esm and dist/cjs on 2021-08-03
    • 7788e24 fix: @effection/core to ship dist-esm and dist-cjs on 2021-08-03
    • 6923a0f update change file with everything patched on 2021-08-03

[2.0.0-beta.7]

  • Add esm builds
    • Bumped due to a bump in @effection/core.
    • 6660a46 Add esm build (#462) on 2021-08-03

[2.0.0-beta.6]

  • remove accidentally compiled .js files from distributed sources
    • Bumped due to a bump in @effection/mocha.
    • f0f0023 add changefile on 2021-07-26

[2.0.0-beta.5]

  • Upgrade typescript to 4.3.5 and replace tsdx with tsc
    • 121bd40 Add change file for typescript bump on 2021-07-23

2.0.0-beta.4

Patch Changes

2.0.0-beta.3

Patch Changes

2.0.0-beta.2

Patch Changes

2.0.0-beta.1

Patch Changes