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 Observable.fromInputStream, fromCharsReader and fromLinesReader #163

alexandru opened this Issue Jun 15, 2016 · 1 comment


None yet
1 participant
Copy link

alexandru commented Jun 15, 2016

The InputStream, the Reader and the BufferedReader classes are supported for Scala.js and given that it's such a common interface, we should provide builders for them.

Hence these builders that should be self explanatory:

  • Observable.fromInputStream(in: InputStream): Observable[Array[Byte]]
  • Observable.fromInputStream(in: InputStream, chunkSize: Int): Observable[Array[Byte]]
  • Observable.fromCharsReader(in: Reader): Observable[Array[Char]]
  • Observable.fromCharsReader(in: Reader, chunkSize: Int): Observable[Array[Char]]
  • Observable.fromLinesReader(in: BufferedReader): Observable[String]

Will be available in the next release.

@alexandru alexandru changed the title Add Observable.fromInputStream Add Observable.fromInputStream, fromCharsReader and fromLinesReader Jun 15, 2016

@alexandru alexandru added this to the 2.0 milestone Jun 15, 2016

@alexandru alexandru self-assigned this Jun 15, 2016

alexandru added a commit that referenced this issue Jun 15, 2016


This comment has been minimized.

Copy link
Member Author

alexandru commented Jun 15, 2016

Released in 2.0-RC6

@alexandru alexandru closed this Jun 15, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.