Open
Description
See jupyterlab/jupyterlab#11789
Problem
JupyterLab constantly polls the server to retrieve information about:
- files and directories (
contents
API) - running terminals (
terminals
API) - running notebooks (
sessions
API) - running kernels (
kernels
API)
It's not optimal because it might:
- make useless requests (when there is no update)
- make requests long after the update happened
- get back more information than needed
Proposed Solution
Would it make sense to support a GraphQL API? I remember there has been some work on this already, but I can't find it.