@thi.ng/fibers 1.0.82 → 1.0.85

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +5 -3
  2. package/csp.d.ts +2 -2
  3. package/package.json +13 -13
package/README.md CHANGED
@@ -7,9 +7,11 @@
7
7
  [![Mastodon Follow](https://img.shields.io/mastodon/follow/109331703950160316?domain=https%3A%2F%2Fmastodon.thi.ng&style=social)](https://mastodon.thi.ng/@toxi)
8
8
 
9
9
  > [!NOTE]
10
- > This is one of 215 standalone projects, maintained as part
11
- > of the [@thi.ng/umbrella](https://codeberg.org/thi.ng/umbrella/) ecosystem
12
- > and anti-framework.
10
+
11
+ > This is one of 215 standalone projects. LLM-free, human-made and
12
+ > cared for software, maintained as part of the
13
+ > [@thi.ng/umbrella](https://codeberg.org/thi.ng/umbrella/) ecosystem and
14
+ > anti-framework.
13
15
  >
14
16
  > 🚀 Please help me to work full-time on these projects by [sponsoring
15
17
  > me](https://codeberg.org/thi.ng/umbrella/src/branch/develop/CONTRIBUTING.md#donations).
package/csp.d.ts CHANGED
@@ -51,7 +51,7 @@ export declare class Channel<T> {
51
51
  * yield* chan.write(23);
52
52
  * ```
53
53
  */
54
- write(val: T): Fiber<any>;
54
+ write(val: T): Fiber<void>;
55
55
  /**
56
56
  * Returns new fiber which closes the channel. By default this op will defer
57
57
  * the full closing until all buffered values have been read (by another
@@ -62,7 +62,7 @@ export declare class Channel<T> {
62
62
  *
63
63
  * @param wait
64
64
  */
65
- close(wait?: boolean): Fiber<any>;
65
+ close(wait?: boolean): Fiber<void>;
66
66
  /**
67
67
  * Returns true if the channel is principally readable (i.e. not yet
68
68
  * closed), however there might not be any values available yet and reads
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/fibers",
3
- "version": "1.0.82",
3
+ "version": "1.0.85",
4
4
  "description": "Process hierarchies & operators for cooperative multitasking",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -40,20 +40,20 @@
40
40
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
41
41
  },
42
42
  "dependencies": {
43
- "@thi.ng/api": "^8.12.21",
44
- "@thi.ng/arrays": "^2.14.18",
45
- "@thi.ng/buffers": "^1.0.40",
46
- "@thi.ng/checks": "^3.9.1",
47
- "@thi.ng/errors": "^2.6.10",
48
- "@thi.ng/idgen": "^2.2.95",
49
- "@thi.ng/logger": "^3.3.4",
50
- "@thi.ng/random": "^4.1.47",
51
- "@thi.ng/timestamp": "^1.1.40"
43
+ "@thi.ng/api": "^8.12.24",
44
+ "@thi.ng/arrays": "^2.14.21",
45
+ "@thi.ng/buffers": "^1.0.43",
46
+ "@thi.ng/checks": "^3.9.4",
47
+ "@thi.ng/errors": "^2.6.13",
48
+ "@thi.ng/idgen": "^2.2.98",
49
+ "@thi.ng/logger": "^3.3.7",
50
+ "@thi.ng/random": "^4.1.50",
51
+ "@thi.ng/timestamp": "^1.1.43"
52
52
  },
53
53
  "devDependencies": {
54
54
  "esbuild": "^0.28.0",
55
- "typedoc": "^0.28.18",
56
- "typescript": "^5.9.3"
55
+ "typedoc": "^0.28.19",
56
+ "typescript": "^6.0.3"
57
57
  },
58
58
  "keywords": [
59
59
  "blocking",
@@ -116,5 +116,5 @@
116
116
  "status": "alpha",
117
117
  "year": 2023
118
118
  },
119
- "gitHead": "dcaa4e2beb427e434a68cba1259a9bf9983a569a"
119
+ "gitHead": "b302822c51b2ab255f8f27f8dd010433d95f29df"
120
120
  }