Metakit / @doeixd/metakit/temporal

undischarged

function · packages/metakit/src/temporalDischarge.ts:141

function undischarged<Name extends string, Over extends string>(
  owed: ReadonlyArray<WalkObligation<Name, Over>>,
  discharges: ReadonlyArray<Discharge<NoInfer<Name>>>,
): ReadonlyArray<WalkObligation<Name, Over>>

The obligations no walk that held covers: assert it is empty in a test. A discharge naming no obligation of the list is a type error.