Private Readonly_Private Readonly_Private Readonly_Private Readonly_Private_Private_Private Readonly_Private Readonly_Private Readonly_Private Readonly_Private Readonly_Private_ReadonlyonPrivatecreateCreates the main "Datalayer Platform" controller. This controller acts as an entry point for runtime selection. When selected, it immediately shows the runtime picker.
Disposes of all resources.
PrivateensureCreates or gets a runtime-specific controller.
PrivateexecuteExecutes a single cell via WebSocket.
PrivateexecuteExecutes cells with the specified runtime.
Cells to execute
The notebook document
The runtime to use
OptionalexecutingController: NotebookControllerThe controller that is actually executing (might be Platform or Runtime controller)
PrivategetGets the controller ID for a specific runtime.
Cleans up on notebook close.
Refreshes all controllers based on current authentication and available runtimes. Creates controllers for existing runtimes that don't have controllers yet. Removes controllers for runtimes that no longer exist.
PrivateselectShows runtime selector and returns selected runtime.
Selects or switches a runtime for a specific notebook. This can be called anytime, even if Platform controller is already selected.
The notebook to select runtime for
PrivateshowShows runtime selector and switches to selected runtime. This is the main method for switching runtimes.
Manages notebook controllers with a main selector and runtime-specific controllers.