Skip to content

Commit

Permalink
Align Stream.run public function signatures (#3238)
Browse files Browse the repository at this point in the history
  • Loading branch information
leonitousconforti authored Jul 12, 2024
1 parent a1db40a commit fc57354
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/twenty-toes-brake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"effect": patch
---

Align Stream.run public function signatures
2 changes: 1 addition & 1 deletion packages/effect/src/Stream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3679,7 +3679,7 @@ export const retry: {
export const run: {
<A2, A, E2, R2>(
sink: Sink.Sink<A2, A, unknown, E2, R2>
): <E, R>(self: Stream<A, E, R>) => Effect.Effect<A2, E2 | E, R2 | R>
): <E, R>(self: Stream<A, E, R>) => Effect.Effect<A2, E2 | E, Exclude<R | R2, Scope.Scope>>
<A, E, R, A2, E2, R2>(
self: Stream<A, E, R>,
sink: Sink.Sink<A2, A, unknown, E2, R2>
Expand Down

0 comments on commit fc57354

Please sign in to comment.