Generate async bindings for `java.io.InputStream`
Open
good first issue
package:jni
package:jnigen
- Dominant language
- Dart
- Stars
- 275
- Forks
- 144
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 47
Description
Would it make sense to have a wrapper that converts a `java.io.InputStream` into a Dart `Stream`?
The context is HTTP bindings for okhttp where the HTTP result is returned asynchronously but result body has to be ready synchronously through an `java.io.InputStream` (there are other options but they are all synchronous).
It would be cool if there was a bridge from Java stream-like things into Dart `Stream`s.
Contributor guide
Assessment
This issue has not been assessed yet.