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 StreamAdapter interface #2

Closed
wants to merge 6 commits into from
Closed

Update StreamAdapter interface #2

wants to merge 6 commits into from

Conversation

TylorS
Copy link
Member

@TylorS TylorS commented Jan 24, 2016

This commit removes replicate() from the StreamAdapter interface in favor of reusing subscribeToStream() as it is the same exact function in practice.

Reworks the tests to match the current API.

Removes unneccessary `replicate()` function from StreamAdapter
API, because it's the exact same as `subscribeToStream()`
Use CycleStreamAdapter.subscribeToStream to convert holdSubject.stream
to the proper stream for the driver.
Adding 'module' = 'ES6' is required for the builds to succeed.
Removes unused cycle.js file
Fix 'main' to point to the proper file.
Add 'typings' for TypeScript projects to automatically detect
this libraries definitions.
Add 'browserify' section; This is required to compile the ES6
files when it is located inside of a projects node_modules, otherwise
it is assumed to be ES5.
@staltz
Copy link
Member

staltz commented Jan 24, 2016

What about this PR? Close?

@TylorS
Copy link
Member Author

TylorS commented Jan 24, 2016

Yes, close.

@TylorS TylorS closed this Jan 24, 2016
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