Metakit / @doeixd/metakit/pairs

settle

function · packages/metakit/src/pairs.ts:370

function settle<State, Transitions extends Readonly<Record<string, unknown>>>(
  machine: Machine<State, Transitions>,
  options: SettleOptions,
): Temporal.Evidence

machine's pairs as evidence, every pair walked. An Unknown pair is discharged by its walk when it sampled a state: held, the pair commutes over the cases tried; broken, the order matters and the discharge carries a seed and the case. A walk that sampled no state discharges nothing and the pair stays open. A True pair is walked too, and a walk that breaks is a decision the report refutes.