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

Add toObservable function #9

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

cprecioso
Copy link

This method would expose an additional toObservable function that would effectively be the inverse of fromObservable.

It is built on PRs #7 and #8, but if any of those are rejected, I can rework the feature to adapt to those circumstances.

@@ -0,0 +1,2 @@
export { fromObservable as default, fromObservable } from "./fromObservable";
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fromObservable gets exported both as a named export and as a default export in order not to break compatibility, but the default export should be deprecated in order to maintain symmetry.

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