Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove SuspendedStream, MicrotaskExecutor hacks in Node.js Process #3366

Conversation

armanbilge
Copy link
Member

@armanbilge armanbilge commented Dec 23, 2023

Another follow-up to #3348. That PR opened the door to let us convert a Readable => Stream[F, Byte] within a single atomic side-effectual block. This means we no longer need the SuspendedStream or MicrotaskExecutor hacks that we were relying on to ensure timely registration of listeners in the Node.js Process implementation.

Now MicrotaskExecutor is no longer needed at all in the codebase 🎉

@mpilquist mpilquist merged commit 165fdaa into typelevel:main Jan 13, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants