submit

fun submit(spec: FitSpec, validate: Boolean = true): FitHandle(source)

Submit a fit for asynchronous execution.

When validate = true (the default), FitConfigurationValidator runs first; errors short-circuit to an already-failed handle. Otherwise the spec is dispatched directly and any failures surface at run time as FitResult.Failed.