@thi.ng/fibers 1.0.82 → 1.0.83

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 (2) hide show
  1. package/csp.d.ts +2 -2
  2. package/package.json +13 -13
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.83",
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.22",
44
+ "@thi.ng/arrays": "^2.14.19",
45
+ "@thi.ng/buffers": "^1.0.41",
46
+ "@thi.ng/checks": "^3.9.2",
47
+ "@thi.ng/errors": "^2.6.11",
48
+ "@thi.ng/idgen": "^2.2.96",
49
+ "@thi.ng/logger": "^3.3.5",
50
+ "@thi.ng/random": "^4.1.48",
51
+ "@thi.ng/timestamp": "^1.1.41"
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": "17d2d1a6542704f55f2daa37550a4213b4a32cd8"
120
120
  }