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

Return Stream wrapper in JS Model.createStream, add test coverage (Fixes #2956) #2957

Merged
merged 3 commits into from
Apr 29, 2020

Conversation

reuben
Copy link
Contributor

@reuben reuben commented Apr 29, 2020

No description provided.

@reuben reuben requested a review from lissyx April 29, 2020 11:50
@reuben reuben changed the title Return Stream wrapper in JS Model.createStream, add test coverage Return Stream wrapper in JS Model.createStream, add test coverage (Fixes #2956) Apr 29, 2020
@@ -511,3 +511,22 @@ run_cpp_only_inference_tests()
set -e
assert_correct_ldc93s1_lm "${phrase_pbmodel_withlm_intermediate_decode}" "$status"
}

run_js_streaming_inference_tests()
Copy link
Collaborator

Choose a reason for hiding this comment

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

I suspect we will need that for more than JS, maybe there is no need to name it like that? Even if we add testing later

Copy link
Contributor Author

Choose a reason for hiding this comment

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

As long as we keep it consistently as a "--stream" parameter it should be fine. I'll leave the renaming for whenever we add another binding. Python already has streaming API coverage through the concurrent streams test.

@reuben reuben merged commit 65b7c41 into master Apr 29, 2020
@reuben reuben deleted the nodejs-stream-wrapper branch April 29, 2020 13:18
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