effect 3.6.5 → 3.6.6
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/cjs/Stream.js +10 -10
- package/dist/cjs/internal/configProvider.js +1 -1
- package/dist/cjs/internal/configProvider.js.map +1 -1
- package/dist/cjs/internal/stream.js +10 -10
- package/dist/cjs/internal/stream.js.map +1 -1
- package/dist/cjs/internal/version.js +1 -1
- package/dist/dts/Stream.d.ts +28 -28
- package/dist/dts/Stream.d.ts.map +1 -1
- package/dist/esm/Stream.js +10 -10
- package/dist/esm/internal/configProvider.js +1 -1
- package/dist/esm/internal/configProvider.js.map +1 -1
- package/dist/esm/internal/stream.js +10 -10
- package/dist/esm/internal/stream.js.map +1 -1
- package/dist/esm/internal/version.js +1 -1
- package/package.json +1 -1
- package/src/Stream.ts +49 -49
- package/src/internal/configProvider.ts +1 -1
- package/src/internal/stream.ts +134 -134
- package/src/internal/version.ts +1 -1
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.setCurrentVersion = exports.getCurrentVersion = void 0;
|
|
7
|
-
let moduleVersion = "3.6.
|
|
7
|
+
let moduleVersion = "3.6.6";
|
|
8
8
|
const getCurrentVersion = () => moduleVersion;
|
|
9
9
|
exports.getCurrentVersion = getCurrentVersion;
|
|
10
10
|
const setCurrentVersion = version => {
|
package/dist/dts/Stream.d.ts
CHANGED
|
@@ -828,8 +828,8 @@ export declare const concat: {
|
|
|
828
828
|
export declare const concatAll: <A, E, R>(streams: Chunk.Chunk<Stream<A, E, R>>) => Stream<A, E, R>;
|
|
829
829
|
/**
|
|
830
830
|
* Composes this stream with the specified stream to create a cartesian
|
|
831
|
-
* product of elements. The `
|
|
832
|
-
* every element in the `
|
|
831
|
+
* product of elements. The `right` stream would be run multiple times, for
|
|
832
|
+
* every element in the `left` stream.
|
|
833
833
|
*
|
|
834
834
|
* See also `Stream.zip` for the more common point-wise variant.
|
|
835
835
|
*
|
|
@@ -853,13 +853,13 @@ export declare const concatAll: <A, E, R>(streams: Chunk.Chunk<Stream<A, E, R>>)
|
|
|
853
853
|
* @category utils
|
|
854
854
|
*/
|
|
855
855
|
export declare const cross: {
|
|
856
|
-
<
|
|
857
|
-
<
|
|
856
|
+
<AR, ER, RR>(right: Stream<AR, ER, RR>): <AL, EL, RL>(left: Stream<AL, EL, RL>) => Stream<[AL, AR], EL | ER, RL | RR>;
|
|
857
|
+
<AL, ER, RR, AR, EL, RL>(left: Stream<AL, ER, RR>, right: Stream<AR, EL, RL>): Stream<[AL, AR], EL | ER, RL | RR>;
|
|
858
858
|
};
|
|
859
859
|
/**
|
|
860
860
|
* Composes this stream with the specified stream to create a cartesian
|
|
861
|
-
* product of elements, but keeps only elements from
|
|
862
|
-
* stream would be run multiple times, for every element in the `
|
|
861
|
+
* product of elements, but keeps only elements from `left` stream. The `right`
|
|
862
|
+
* stream would be run multiple times, for every element in the `left` stream.
|
|
863
863
|
*
|
|
864
864
|
* See also `Stream.zipLeft` for the more common point-wise variant.
|
|
865
865
|
*
|
|
@@ -867,13 +867,13 @@ export declare const cross: {
|
|
|
867
867
|
* @category utils
|
|
868
868
|
*/
|
|
869
869
|
export declare const crossLeft: {
|
|
870
|
-
<
|
|
871
|
-
<
|
|
870
|
+
<AR, ER, RR>(right: Stream<AR, ER, RR>): <AL, EL, RL>(left: Stream<AL, EL, RL>) => Stream<AL, EL | ER, RL | RR>;
|
|
871
|
+
<AL, EL, RL, AR, ER, RR>(left: Stream<AL, EL, RL>, right: Stream<AR, ER, RR>): Stream<AL, EL | ER, RL | RR>;
|
|
872
872
|
};
|
|
873
873
|
/**
|
|
874
874
|
* Composes this stream with the specified stream to create a cartesian
|
|
875
|
-
* product of elements, but keeps only elements from the
|
|
876
|
-
* `
|
|
875
|
+
* product of elements, but keeps only elements from the `right` stream. The
|
|
876
|
+
* `left` stream would be run multiple times, for every element in the `right`
|
|
877
877
|
* stream.
|
|
878
878
|
*
|
|
879
879
|
* See also `Stream.zipRight` for the more common point-wise variant.
|
|
@@ -882,13 +882,13 @@ export declare const crossLeft: {
|
|
|
882
882
|
* @category utils
|
|
883
883
|
*/
|
|
884
884
|
export declare const crossRight: {
|
|
885
|
-
<
|
|
886
|
-
<
|
|
885
|
+
<AR, ER, RR>(right: Stream<AR, ER, RR>): <AL, EL, RL>(left: Stream<AL, EL, RL>) => Stream<AR, EL | ER, RL | RR>;
|
|
886
|
+
<AL, EL, RL, AR, ER, RR>(left: Stream<AL, EL, RL>, right: Stream<AR, ER, RR>): Stream<AR, EL | ER, RL | RR>;
|
|
887
887
|
};
|
|
888
888
|
/**
|
|
889
889
|
* Composes this stream with the specified stream to create a cartesian
|
|
890
|
-
* product of elements with a specified function. The `
|
|
891
|
-
* run multiple times, for every element in the `
|
|
890
|
+
* product of elements with a specified function. The `right` stream would be
|
|
891
|
+
* run multiple times, for every element in the `left` stream.
|
|
892
892
|
*
|
|
893
893
|
* See also `Stream.zipWith` for the more common point-wise variant.
|
|
894
894
|
*
|
|
@@ -896,8 +896,8 @@ export declare const crossRight: {
|
|
|
896
896
|
* @category utils
|
|
897
897
|
*/
|
|
898
898
|
export declare const crossWith: {
|
|
899
|
-
<
|
|
900
|
-
<
|
|
899
|
+
<AR, ER, RR, AL, A>(right: Stream<AR, ER, RR>, f: (left: AL, right: AR) => A): <EL, RL>(left: Stream<AL, EL, RL>) => Stream<A, EL | ER, RL | RR>;
|
|
900
|
+
<AL, EL, RL, AR, ER, RR, A>(left: Stream<AL, EL, RL>, right: Stream<AR, ER, RR>, f: (left: AL, right: AR) => A): Stream<A, EL | ER, RL | RR>;
|
|
901
901
|
};
|
|
902
902
|
/**
|
|
903
903
|
* Delays the emission of values by holding new values for a set duration. If
|
|
@@ -4570,8 +4570,8 @@ export declare const zipAllWith: {
|
|
|
4570
4570
|
* @category zipping
|
|
4571
4571
|
*/
|
|
4572
4572
|
export declare const zipLatest: {
|
|
4573
|
-
<
|
|
4574
|
-
<
|
|
4573
|
+
<AR, ER, RR>(right: Stream<AR, ER, RR>): <AL, EL, RL>(left: Stream<AL, EL, RL>) => Stream<[AL, AR], EL | ER, RL | RR>;
|
|
4574
|
+
<AL, EL, RL, AR, ER, RR>(left: Stream<AL, EL, RL>, right: Stream<AR, ER, RR>): Stream<[AL, AR], EL | ER, RL | RR>;
|
|
4575
4575
|
};
|
|
4576
4576
|
/**
|
|
4577
4577
|
* Zips multiple streams so that when a value is emitted by any of the streams,
|
|
@@ -4625,12 +4625,12 @@ export declare const zipLatestAll: <T extends ReadonlyArray<Stream<any, any, any
|
|
|
4625
4625
|
* @category zipping
|
|
4626
4626
|
*/
|
|
4627
4627
|
export declare const zipLatestWith: {
|
|
4628
|
-
<
|
|
4629
|
-
<
|
|
4628
|
+
<AR, ER, RR, AL, A>(right: Stream<AR, ER, RR>, f: (left: AL, right: AR) => A): <EL, RL>(left: Stream<AL, EL, RL>) => Stream<A, EL | ER, RL | RR>;
|
|
4629
|
+
<AL, EL, RL, AR, ER, RR, A>(left: Stream<AL, EL, RL>, right: Stream<AR, ER, RR>, f: (left: AL, right: AR) => A): Stream<A, EL | ER, RL | RR>;
|
|
4630
4630
|
};
|
|
4631
4631
|
/**
|
|
4632
4632
|
* Zips this stream with another point-wise, but keeps only the outputs of
|
|
4633
|
-
*
|
|
4633
|
+
* `left` stream.
|
|
4634
4634
|
*
|
|
4635
4635
|
* The new stream will end when one of the sides ends.
|
|
4636
4636
|
*
|
|
@@ -4638,12 +4638,12 @@ export declare const zipLatestWith: {
|
|
|
4638
4638
|
* @category zipping
|
|
4639
4639
|
*/
|
|
4640
4640
|
export declare const zipLeft: {
|
|
4641
|
-
<
|
|
4642
|
-
<
|
|
4641
|
+
<AR, ER, RR>(right: Stream<AR, ER, RR>): <AL, EL, RL>(left: Stream<AL, EL, RL>) => Stream<AL, ER | EL, RR | RL>;
|
|
4642
|
+
<AL, EL, RL, AR, ER, RR>(left: Stream<AL, EL, RL>, right: Stream<AR, ER, RR>): Stream<AL, EL | ER, RL | RR>;
|
|
4643
4643
|
};
|
|
4644
4644
|
/**
|
|
4645
4645
|
* Zips this stream with another point-wise, but keeps only the outputs of the
|
|
4646
|
-
*
|
|
4646
|
+
* `right` stream.
|
|
4647
4647
|
*
|
|
4648
4648
|
* The new stream will end when one of the sides ends.
|
|
4649
4649
|
*
|
|
@@ -4651,8 +4651,8 @@ export declare const zipLeft: {
|
|
|
4651
4651
|
* @category zipping
|
|
4652
4652
|
*/
|
|
4653
4653
|
export declare const zipRight: {
|
|
4654
|
-
<
|
|
4655
|
-
<
|
|
4654
|
+
<AR, ER, RR>(right: Stream<AR, ER, RR>): <AL, EL, RL>(left: Stream<AL, EL, RL>) => Stream<AR, ER | EL, RR | RL>;
|
|
4655
|
+
<AL, EL, RL, AR, ER, RR>(left: Stream<AL, EL, RL>, right: Stream<AR, ER, RR>): Stream<AR, EL | ER, RL | RR>;
|
|
4656
4656
|
};
|
|
4657
4657
|
/**
|
|
4658
4658
|
* Zips this stream with another point-wise and applies the function to the
|
|
@@ -4677,8 +4677,8 @@ export declare const zipRight: {
|
|
|
4677
4677
|
* @category zipping
|
|
4678
4678
|
*/
|
|
4679
4679
|
export declare const zipWith: {
|
|
4680
|
-
<
|
|
4681
|
-
<
|
|
4680
|
+
<AR, ER, RR, AL, A>(right: Stream<AR, ER, RR>, f: (left: AL, right: AR) => A): <EL, RL>(left: Stream<AL, EL, RL>) => Stream<A, EL | ER, RL | RR>;
|
|
4681
|
+
<AL, EL, RL, AR, ER, RR, A>(left: Stream<AL, EL, RL>, right: Stream<AR, ER, RR>, f: (left: AL, right: AR) => A): Stream<A, EL | ER, RL | RR>;
|
|
4682
4682
|
};
|
|
4683
4683
|
/**
|
|
4684
4684
|
* Zips this stream with another point-wise and applies the function to the
|