Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Partially addresses #151.
Widgets using the
model.on
API expect the second argument for themsg:custom
callback to be an an array ofDataView
notArray<ArrayBuffer>
. This data comes from the unpacking of the comm message data injsonParse
.https://github.com/jupyter-widgets/ipywidgets/blob/c579fcd1265af77a0d793aa47a7b9a401d952550/packages/base/src/widget.ts#L318-L321
This PR should address sending binary to the front end, but not the reverse. Also it would be awesome if there was a way to avoid base64 encoding the binary data... but I assume that requires many more changes at a deeper, Shiny level. This is a starting point.
That said... quak doesn't transfer very much data and it seems to work reasonably well (locally).
Screen.Recording.2024-07-30.at.22.02.33.mov