Create a runtime for a specific notebook.
Optional
notebookPath: stringOptional
options: RuntimeOptionsDisposes the service and cleans up resources. Should be called during application shutdown.
Get runtime for a notebook.
Get service manager for a notebook.
Initializes the service. Should be called before any other service methods.
List all runtimes on the platform (not just notebook-specific ones). Used for runtime selection/browsing.
Manually notify all subscribers that a runtime has been terminated. This propagates the termination to ALL editors connected to that runtime.
The pod name of the terminated runtime
Subscribe to global runtime expiration events. Called when ANY runtime on the platform expires.
Function to call with the expired runtime's podName
Unsubscribe function
Subscribe to runtime list refresh events. Called when the list of all runtimes has been updated.
Function to call with the updated runtime list
Unsubscribe function
Subscribe to runtime state changes.
Refresh the list of all platform runtimes. Forces a fresh fetch even if cached.
Set service manager for a notebook.
Terminate a runtime for a specific notebook.
Runtime service interface. Manages compute runtime lifecycle for notebooks.