Fit Event
Lifecycle event emitted by a FitHandle during a fitting (or batch) job.
The set comprises the start signals, lightweight progress events, and the terminal events. Progress events carry no result payload — the full result arrives once, on the terminal event (FitCompleted / BatchFitCompleted), mirroring ksl.app's lifecycle-only event convention.
Inheritors
Types
Terminal: the batch produced a BatchFitResultData normally.
Emitted once at the start of a batch, before the first dataset is fit.
Progress: one dataset of a batch has finished. Carries no result payload — only position and outcome. success is true when the dataset produced a result, false when it became a BatchFailure.
Terminal: the fit was cancelled before completion.
Terminal: the fit produced a FitResultData normally.
Terminal: the fit failed with a structured error.
Emitted once for a single fit, after the data source resolves and before the fitter starts work. A failed import never emits this event — the only event on that path is FitFailed.