Skip to content

Latest commit

 

History

History
 
 

README.md

Hosting ipywidgets in non-notebook contexxt

Kernel

  • As the kernel connection is only available in back end (extension code), the HTML manager will not work.
  • To get this working, all we need to do is create a proxy kernel connection in the react layer.
  • Thats what the code in this folder does (wraps the html manager + custom kernel connection)
  • Kernel messages from the extension are sent to this layer using the postoffice
  • Similarly messages from sent from html manager via the kernel are sent to the actual kernel via the postoffice.
  • However, the sequence and massaging of the kernel messages requires a lot of work. Baiscally majority of the message processing from /node_modules/@jupyterlab/services/lib/kernel/*.js
    • Much of the message processing logic is borrowed from comm.js, default.js, future.js, kernel.js and manager.js.