effect-app 4.0.0-beta.181 → 4.0.0-beta.182

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # @effect-app/prelude
2
2
 
3
+ ## 4.0.0-beta.182
4
+
3
5
  ## 4.0.0-beta.181
4
6
 
5
7
  ### Patch Changes
@@ -43,8 +43,8 @@ export interface RequestStreamHandler<A, E, R, Request extends Req, Id extends s
43
43
  * Phantom type property (never set at runtime) that carries the `Final` type to
44
44
  * `StreamMutationWithExtensions`. The tilde prefix follows the Effect convention for
45
45
  * phantom/virtual properties and prevents accidental runtime access.
46
- * When the stream fails, the execute effect still resolves (with `undefined`);
47
- * check the reactive `AsyncResult` ref to distinguish success from failure.
46
+ * Stream failures bubble through the execute effect's typed error channel `E`;
47
+ * the reactive `AsyncResult` ref also mirrors the failure for live progress UI.
48
48
  */
49
49
  readonly "~final"?: Final;
50
50
  }
@@ -57,8 +57,8 @@ export interface RequestStreamHandlerWithInput<I, A, E, R, Request extends Req,
57
57
  * Phantom type property (never set at runtime) that carries the `Final` type to
58
58
  * `StreamMutationWithExtensions`. The tilde prefix follows the Effect convention for
59
59
  * phantom/virtual properties and prevents accidental runtime access.
60
- * When the stream fails, the execute effect still resolves (with `undefined`);
61
- * check the reactive `AsyncResult` ref to distinguish success from failure.
60
+ * Stream failures bubble through the execute effect's typed error channel `E`;
61
+ * the reactive `AsyncResult` ref also mirrors the failure for live progress UI.
62
62
  */
63
63
  readonly "~final"?: Final;
64
64
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "effect-app",
3
- "version": "4.0.0-beta.181",
3
+ "version": "4.0.0-beta.182",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "dependencies": {
@@ -108,8 +108,8 @@ export interface RequestStreamHandler<A, E, R, Request extends Req, Id extends s
108
108
  * Phantom type property (never set at runtime) that carries the `Final` type to
109
109
  * `StreamMutationWithExtensions`. The tilde prefix follows the Effect convention for
110
110
  * phantom/virtual properties and prevents accidental runtime access.
111
- * When the stream fails, the execute effect still resolves (with `undefined`);
112
- * check the reactive `AsyncResult` ref to distinguish success from failure.
111
+ * Stream failures bubble through the execute effect's typed error channel `E`;
112
+ * the reactive `AsyncResult` ref also mirrors the failure for live progress UI.
113
113
  */
114
114
  readonly "~final"?: Final
115
115
  }
@@ -123,8 +123,8 @@ export interface RequestStreamHandlerWithInput<I, A, E, R, Request extends Req,
123
123
  * Phantom type property (never set at runtime) that carries the `Final` type to
124
124
  * `StreamMutationWithExtensions`. The tilde prefix follows the Effect convention for
125
125
  * phantom/virtual properties and prevents accidental runtime access.
126
- * When the stream fails, the execute effect still resolves (with `undefined`);
127
- * check the reactive `AsyncResult` ref to distinguish success from failure.
126
+ * Stream failures bubble through the execute effect's typed error channel `E`;
127
+ * the reactive `AsyncResult` ref also mirrors the failure for live progress UI.
128
128
  */
129
129
  readonly "~final"?: Final
130
130
  }