@effection/fetch
Advanced tools
Comparing version 2.0.0-beta.17 to 2.0.0-beta.18
# @effection/fetch | ||
## \[2.0.0-beta.18] | ||
- - [0248d79](https://github.com/thefrontside/effection/commit/0248d79a33dcfc4200b0832aba975c9cad08981e) Add package readmes on 2021-09-28 | ||
## \[2.0.0-beta.17] | ||
@@ -4,0 +8,0 @@ |
{ | ||
"name": "@effection/fetch", | ||
"version": "2.0.0-beta.17", | ||
"version": "2.0.0-beta.18", | ||
"description": "Fetch operation for Effection", | ||
@@ -31,3 +31,2 @@ "main": "dist-cjs/index.js", | ||
"devDependencies": { | ||
"@effection/mocha": "2.0.0-beta.9", | ||
"@frontside/tsconfig": "^1.2.0", | ||
@@ -41,3 +40,3 @@ "@types/node": "^16.3.2", | ||
"dependencies": { | ||
"@effection/core": "2.0.0-beta.14", | ||
"@effection/core": "2.0.0-beta.15", | ||
"abort-controller": "^3.0.0", | ||
@@ -44,0 +43,0 @@ "cross-fetch": "^3.0.4", |
# @effection/fetch | ||
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) | ||
[![Created by Frontside](https://img.shields.io/badge/created%20by-frontside-26abe8.svg)](https://frontside.com) | ||
[![Chat on Discord](https://img.shields.io/discord/700803887132704931?Label=Discord)](https://discord.gg/Ug5nWH8) | ||
Use `fetch` as an effection operation. | ||
[Effection][] is the structured concurrency toolkit for JavaScript. You can find | ||
detailed information about using its `fetch` api at [https://frontside.com/effection/api/modules/fetch.html#fetch](https://frontside.com/effection/api/modules/fetch.html#fetch) | ||
## Synopsis | ||
This implements the `fetch` api exactly as it appears in the JavaScript spec. However, an abort signal is automatically connected to the underlying call so that whenever the `fetch` operation passes out of scope, it is automatically cancelled. That way, it is impossible to leave an http request dangling. | ||
``` js | ||
let response = yield fetch('https://bigtestjs.io'); | ||
``` | ||
[Effection]: https://frontside.com/effection |
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
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
21966
6
10
+ Added@effection/core@2.0.0-beta.15(transitive)
- Removed@effection/core@2.0.0-beta.14(transitive)