We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4be592b commit 2f3b7d4Copy full SHA for 2f3b7d4
.changeset/twenty-doors-glow.md
@@ -0,0 +1,5 @@
1
+---
2
+"effect": patch
3
4
+
5
+fix Mailbox.fromStream
packages/effect/src/internal/mailbox.ts
@@ -547,7 +547,7 @@ export const fromStream: {
547
onFailure: (cause: Cause<E>) => mailbox.failCause(cause),
548
onDone: () => mailbox.end
549
})
550
- return channel.unwrapScopedWith((scope) =>
+ return fiberRuntime.scopeWith((scope) =>
551
stream.toChannel(self).pipe(
552
coreChannel.pipeTo(writer),
553
channelExecutor.runIn(scope),
0 commit comments