effect 3.4.7 → 3.4.8
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/String.js.map +1 -1
- package/dist/cjs/internal/channel/channelExecutor.js +1 -1
- package/dist/cjs/internal/channel/channelExecutor.js.map +1 -1
- package/dist/cjs/internal/channel.js +2 -2
- package/dist/cjs/internal/channel.js.map +1 -1
- package/dist/cjs/internal/version.js +1 -1
- package/dist/dts/String.d.ts +2 -2
- package/dist/dts/String.d.ts.map +1 -1
- package/dist/esm/String.js.map +1 -1
- package/dist/esm/internal/channel/channelExecutor.js +1 -1
- package/dist/esm/internal/channel/channelExecutor.js.map +1 -1
- package/dist/esm/internal/channel.js +2 -2
- package/dist/esm/internal/channel.js.map +1 -1
- package/dist/esm/internal/version.js +1 -1
- package/package.json +1 -1
- package/src/String.ts +2 -10
- package/src/internal/channel/channelExecutor.ts +6 -1
- package/src/internal/channel.ts +7 -6
- package/src/internal/version.ts +1 -1
package/src/internal/channel.ts
CHANGED
|
@@ -1607,11 +1607,12 @@ export const mergeWith = dual<
|
|
|
1607
1607
|
(input) => {
|
|
1608
1608
|
const queueReader = fromInput(input)
|
|
1609
1609
|
return Effect.map(
|
|
1610
|
-
Effect.
|
|
1610
|
+
Effect.all([
|
|
1611
1611
|
toPull(core.pipeTo(queueReader, self)),
|
|
1612
|
-
toPull(core.pipeTo(queueReader, options.other))
|
|
1613
|
-
|
|
1614
|
-
|
|
1612
|
+
toPull(core.pipeTo(queueReader, options.other)),
|
|
1613
|
+
Effect.scope
|
|
1614
|
+
]),
|
|
1615
|
+
([pullL, pullR, scope]) => {
|
|
1615
1616
|
type State = MergeState.MergeState<
|
|
1616
1617
|
Env | Env1,
|
|
1617
1618
|
OutErr,
|
|
@@ -1806,8 +1807,8 @@ export const mergeWith = dual<
|
|
|
1806
1807
|
return pipe(
|
|
1807
1808
|
core.fromEffect(
|
|
1808
1809
|
Effect.zipWith(
|
|
1809
|
-
Effect.
|
|
1810
|
-
Effect.
|
|
1810
|
+
Effect.forkIn(pullL, scope),
|
|
1811
|
+
Effect.forkIn(pullR, scope),
|
|
1811
1812
|
(left, right): State =>
|
|
1812
1813
|
mergeState.BothRunning<
|
|
1813
1814
|
Env | Env1,
|
package/src/internal/version.ts
CHANGED