effect 3.10.17 → 3.10.18
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/internal/stream.js +1 -1
- package/dist/cjs/internal/stream.js.map +1 -1
- package/dist/cjs/internal/version.js +1 -1
- package/dist/esm/internal/stream.js +1 -1
- package/dist/esm/internal/stream.js.map +1 -1
- package/dist/esm/internal/version.js +1 -1
- package/package.json +1 -1
- package/src/internal/stream.ts +1 -1
- package/src/internal/version.ts +1 -1
|
@@ -1537,7 +1537,7 @@ const peel = exports.peel = /*#__PURE__*/(0, _Function.dual)(2, (self, sink) =>
|
|
|
1537
1537
|
}))), Effect.flatten);
|
|
1538
1538
|
});
|
|
1539
1539
|
/** @internal */
|
|
1540
|
-
const partition = exports.partition = /*#__PURE__*/(0, _Function.dual)(args => typeof args[1] === "function", (self, predicate, options) => partitionEither(self, a => Effect.succeed(predicate(a) ? Either.
|
|
1540
|
+
const partition = exports.partition = /*#__PURE__*/(0, _Function.dual)(args => typeof args[1] === "function", (self, predicate, options) => partitionEither(self, a => Effect.succeed(predicate(a) ? Either.right(a) : Either.left(a)), options));
|
|
1541
1541
|
/** @internal */
|
|
1542
1542
|
const partitionEither = exports.partitionEither = /*#__PURE__*/(0, _Function.dual)(args => typeof args[1] === "function", (self, predicate, options) => (0, _Function.pipe)(mapEffectSequential(self, predicate), distributedWith({
|
|
1543
1543
|
size: 2,
|