Closed saulshanabrook closed 5 years ago
This PR should also be opened against the main voila repo (this code is just vendored on a temporary basis).
Note: There might be an argument against opening comm's from the client side (although there are clearly strong arguments for allowing it), as it might allow arbitrary code execution from the client side.
Note: There might be an argument against opening comm's from the client side (although there are clearly strong arguments for allowing it), as it might allow arbitrary code execution from the client side.
Aren't we kinda forced to open them from the client side in a mime renderer? Otherwise, when would the server open the comm? We need a listener on the client registered before the server would open it.
I mean it doesn't matter to me really how it's done, I just need bidirectional communication from frontend to backend. Whatever way we decide is the sanctioned way to do that, I am happy to adopt. See some longer thoughts here ("Protocol Agnostic") https://github.com/Quansight/ibis-vega-transform/issues/14
This PR should also be opened against the main voila repo (this code is just vendored on a temporary basis).
OK I will open one there as well.
Probably also add comm_close
, and then we can merge, since this was merged upstream
helps on https://github.com/vidartf/phoila/issues/7.
Using this I can create a labextension that communicates over comms: