effect 4.0.0-beta.56 → 4.0.0-beta.58
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/dist/Effect.d.ts +7 -0
- package/dist/Effect.d.ts.map +1 -1
- package/dist/Effect.js +7 -0
- package/dist/Effect.js.map +1 -1
- package/dist/Stream.d.ts.map +1 -1
- package/dist/Stream.js +17 -9
- package/dist/Stream.js.map +1 -1
- package/dist/internal/effect.js +2 -0
- package/dist/internal/effect.js.map +1 -1
- package/dist/unstable/http/HttpClientResponse.js +12 -2
- package/dist/unstable/http/HttpClientResponse.js.map +1 -1
- package/dist/unstable/reactivity/AsyncResult.d.ts +37 -17
- package/dist/unstable/reactivity/AsyncResult.d.ts.map +1 -1
- package/dist/unstable/reactivity/AsyncResult.js +9 -0
- package/dist/unstable/reactivity/AsyncResult.js.map +1 -1
- package/dist/unstable/sql/SqlClient.d.ts +20 -2
- package/dist/unstable/sql/SqlClient.d.ts.map +1 -1
- package/dist/unstable/sql/SqlClient.js +34 -29
- package/dist/unstable/sql/SqlClient.js.map +1 -1
- package/dist/unstable/sql/SqlResolver.d.ts.map +1 -1
- package/dist/unstable/sql/SqlResolver.js +4 -6
- package/dist/unstable/sql/SqlResolver.js.map +1 -1
- package/package.json +1 -1
- package/src/Effect.ts +8 -0
- package/src/Stream.ts +24 -13
- package/src/internal/effect.ts +9 -0
- package/src/unstable/http/HttpClientResponse.ts +12 -2
- package/src/unstable/reactivity/AsyncResult.ts +59 -17
- package/src/unstable/sql/SqlClient.ts +36 -9
- package/src/unstable/sql/SqlResolver.ts +9 -11
package/dist/Effect.d.ts
CHANGED
|
@@ -12367,6 +12367,13 @@ export declare const uninterruptibleMask: <A, E, R>(f: (restore: <AX, EX, RX>(ef
|
|
|
12367
12367
|
* @category Interruption
|
|
12368
12368
|
*/
|
|
12369
12369
|
export declare const interruptibleMask: <A, E, R>(f: (restore: <AX, EX, RX>(effect: Effect<AX, EX, RX>) => Effect<AX, EX, RX>) => Effect<A, E, R>) => Effect<A, E, R>;
|
|
12370
|
+
/**
|
|
12371
|
+
* Creates an AbortSignal that is managed by the provided scope.
|
|
12372
|
+
*
|
|
12373
|
+
* @since 4.0.0
|
|
12374
|
+
* @category Interruption
|
|
12375
|
+
*/
|
|
12376
|
+
export declare const abortSignal: Effect<AbortSignal, never, Scope>;
|
|
12370
12377
|
/**
|
|
12371
12378
|
* @since 2.0.0
|
|
12372
12379
|
* @category Repetition / Recursion
|