def tick.grown
import bend-kit-runner@0.13.0.1/runner.bend as Runnerimport Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes
1558# Compacts once the journal grew past Config.compact octets since open or the last compaction.
1559def tick.grown(~A: Data, ~penc: A -> Bytes.Bytes, t: Runner<A> & Out(Bool)) -> IO(Runner<A> & Out(Bool)):
1560 match t:
1561 case (r, Fail{e}):
1562 IO.pure(Runner<A> & Out(Bool), (r, Fail{e}))
1563 case (r, Done{b}):
1564 tick.size(~A, ~penc, r, b)