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

Update to @most/core v1+ #50

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

semmel
Copy link

@semmel semmel commented Apr 4, 2024

I had to patch the ProxyStream implementation, since the old relied on the fields .source and .sinks of MulticastSource being protected. In @most/core they're now private fields.

Also I removed the circular stream tests from attach, since

  • I did not get circular streams to work with stream failures,
  • I think its not widely used
  • I don't think it ever worked in the old implementation (just recursively depend on an origin stream with a stream failure and observe "Stack size exceeded" events)

I added some more tests for attach though.

I renamed some variables in ProxyStream.ts for my own sanity (sorry though).

I guess this PR is a breaking change because

  • the dependency @most/core is a breaking change anyway,
  • the ProxyStream implementation changed quite a bit and I am not confident I recreated all the old behaviour (e.g. circular streams)

So at least it remains to bump the version number.

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.

1 participant