Handler for kernel-selected and runtime-selected messages. Extracts runtime from message and calls the selection callback.
The kernel/runtime selected message from extension
Callback to update runtime state (from useRuntimeManager)
Optional
Optional callback to update editor-specific store
case "kernel-selected":case "runtime-selected": handleRuntimeSelected(message, selectRuntime, (rt) => store.getState().setRuntime(rt)); break; Copy
case "kernel-selected":case "runtime-selected": handleRuntimeSelected(message, selectRuntime, (rt) => store.getState().setRuntime(rt)); break;
Handler for kernel-selected and runtime-selected messages. Extracts runtime from message and calls the selection callback.