Handles kernel-terminated and runtime-terminated messages by clearing the runtime immediately to stop further operations.
Callback to update runtime state from useRuntimeManager.
Optional
Optional callback to update editor-specific store.
Handles kernel-terminated and runtime-terminated messages by clearing the runtime immediately to stop further operations.