forked from digital-asset/daml
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Multiplex multiple virtual query streams through a single web socket (d…
…igital-asset#10221) * Initial work-in-progress changelog_begin [TS bindings] When using daml-react and daml-ledger, all streaming request to the query endpoint will be multiplexed through a single web socket. changelog_end * Minor touches, renaming * Handle offsets received from the JSON API * Create state array once per downstream consumer * Handle reconnections as streamSubmit does * Don't share mutable state between events * Fix compilation errors * Remove language-support/ts/package-lock.json * Remove --downlevelIteration option, materialize iterators, fix one test * I will refrain from commenting on the meaning of `this` in JavaScript * WebSocket does not have a removeAllListeners method * Remove unnecessary docstring from `handleQueriesChange` * Address digital-asset#10221 (comment) * Address digital-asset#10221 (comment) * Address digital-asset#10221 (comment) * Address digital-asset#10221 (comment) * Fix some failing tests and linting fixes * fix reconnect on server close test * fix failing tests in test.ts and create-daml-app tests * Update language-support/ts/daml-ledger/index.ts Co-authored-by: Stefano Baghino <43749967+stefanobaghino-da@users.noreply.github.com> * Update language-support/ts/daml-ledger/index.ts Co-authored-by: Stefano Baghino <43749967+stefanobaghino-da@users.noreply.github.com> * Update language-support/ts/daml-ledger/index.test.ts Co-authored-by: Stefano Baghino <43749967+stefanobaghino-da@users.noreply.github.com> * Update language-support/ts/daml-ledger/index.test.ts Co-authored-by: Stefano Baghino <43749967+stefanobaghino-da@users.noreply.github.com> * changes based on code review comments Co-authored-by: Akshay <akshay.shirahatti@digitalasset.com> Co-authored-by: akshayshirahatti-da <86774832+akshayshirahatti-da@users.noreply.github.com>
- Loading branch information
1 parent
3098b70
commit 05505e3
Showing
4 changed files
with
448 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.