© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Stream.runForEach exiting early when using PubSub - Effect Community
EC
Effect Community
•
11mo ago
•
4 replies
Brendonovich
Stream.runForEach exiting early when using PubSub
https://effect.website/play#8511894b361e
I
'm confused why
runForEach
runForEach
exits after processing the first message
, I can work around it by pulling values in a while loop but I
'd expect this setup to work
. Am I doing something wrong with the scopes of each effect
?
Effect Community
Join
Production-grade applications in TypeScript.
6,221
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
HMR gets stuck when frontend is connected to SSE endpoint using PubSub/Stream
EC
Effect Community / help-forum
2y ago
Communication issue between my API and a fiber using effect.pubSub.
EC
Effect Community / help-forum
9mo ago
Stream.flatMap vs Stream.mapEffect
EC
Effect Community / help-forum
12mo ago
Stream Batching
EC
Effect Community / help-forum
17mo ago