ExecLane

interface ExecLane

The minimal lane contract McpServer depends on to run an eval: is it runnable right now, and submit code to it. Implemented by Lane and ParallelLane, which share the eval machinery and differ only in what drives each eval's steps — a heartbeat, or a worker loop.

Inheritors

Properties

Link copied to clipboard
abstract val isReady: Boolean
Link copied to clipboard
abstract val name: String

Functions

Link copied to clipboard
abstract fun submit(code: String, beforeStart: (EvalHandle) -> Unit): EvalHandle

beforeStart gets the handle after it's built but before the eval starts — where the caller registers it for cancellation, so no running eval is ever unregistered.