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 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