Function: withStepResultSpill()
withStepResultSpill(
ledger,spill):StepLedger
Defined in: packages/workflow-engine/src/kernel/spill.ts:249
Wraps a StepLedger so results above the threshold live in the blob
store. Every write path packs and every read path resolves, so callers
see the value they stored — createKernel applies this to the ledger it
is given, so a consumer does not wire it themselves.
clear() removes the stage's spilled blobs after the rows, so a failure
between the two leaks a blob rather than orphaning a reference.