Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
effection
Advanced tools
Structured concurrency and effects for JavaScript.
Using Effection provides many benefits over using plain Promises and
async/await
code:
async/await
, Effection is fundamentally
synchronous in nature, this means you have full control over the event loop
and operations requiring synchronous setup remain race condition free.Effection leverages the idea of structured concurrency to ensure that you don't leak any resources, and that cancellation is properly handled. It helps you build concurrent code that feels rock solid and behaves well under all failure conditions. In essence, Effection allows you to compose concurrent code so that you can reason about its behavior.
Learn how to use Effection in your own project
Currently, Effection development happens using yarn
. While npm
may
work, it is not tested so your mileage may vary.
To build, run the prepack
command from the root directory.
$ yarn prepack
You can also run the prepack
command within each sub directory to
only build that package.
Don't forget describe changes that you made.
For that you need to create *.md
file in .changes
directory with
list of changed packages, each package should be versioned by semver, and
on the last line briefly describe your changes. Like this:
---
"package-name1": "patch"
"package-name2": "minor"
---
Added new awesome feature
The more information about this format you can find in covector
docs
To run tests:
$ yarn test
Most test suites use the @effection/mocha
to
leverage Effection to test itself.
FAQs
Structured concurrency and effects for JavaScript
The npm package effection receives a total of 3,113 weekly downloads. As such, effection popularity was classified as popular.
We found that effection demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.