- 4.0.0-alpha.3Latest
- 4.0.0-alpha.1
- 4.0.0-alpha.0
- 3.0.3
- 3.0.3
- 3.0.0-alpha.0-test
- 3.0.2
- 3.0.1
- 3.0.0
- 3.0.0-beta.5
- 3.0.0-beta.4
- 3.0.0-beta.3
- 3.0.0-beta.2
- 3.0.0-beta.2
- 3.0.0-beta.1
- 3.0.0-beta.0
- 3.0.0-alpha.15
- 3.0.0-alpha.14
- 3.0.0-alpha.13
- 3.0.0-alpha.12
- 3.0.0-alpha.11
- 3.0.0-alpha.10
- 3.0.0-alpha.9
- 3.0.0-alpha.9
- 3.0.0-alpha.8
- 3.0.0-alpha.7
- 3.0.0-alpha.6
- 3.0.0-alpha.5
- 3.0.0-alpha.4
- 3.0.0-alpha.3
- 3.0.0-alpha.2
- 3.0.0-alpha.1
- 3.0.0-alpha.0
Effection
Structured concurrency and effects for JavaScript.
Why use Effection?
Effection leverages the idea of structured concurrency to ensure that you don’t leak any resources, effects, and that cancellation is always properly handled. It helps you build concurrent code that feels rock solid at scale, and it does all of this while feeling like normal JavaScript.
Learn how to use Effection in your own project
Platforms
Effection runs on all major JavaScript platforms including NodeJs, Browser, and Deno. It is published on both npm and deno.land.
Contributing to Website
Go to website’s readme to learn how to contribute to the website.
Development
Deno is the primary tool used for development, testing, and packaging.
Testing
To run tests:
$ deno task test
Building NPM Packages
If you want to build a development version of the NPM package so that you can
link it locally, you can use the build:npm
script and passing it a version
number. for example:
$ deno task build:npm 3.0.0-mydev-snapshot.0
Task build:npm deno run -A tasks/build-npm.ts "3.0.0-mydev-snapshot.0"
[dnt] Transforming...
[dnt] Running npm install...
up to date, audited 1 package in 162ms
found 0 vulnerabilities
[dnt] Building project...
[dnt] Emitting ESM package...
[dnt] Emitting script package...
[dnt] Complete!
Now, the built npm package can be found in the build/npm
directory.