def callbacks_done
import bendvy-ecs-core@0.1.0.4/feature.bend as Featureimport Base
144def callbacks_done(~S:Data,~Ctx:Type,~HO:Type,~TO:Type,~HE:Type,~TE:Type,tail:Ctx -> TO -> Ctx & Output<S,TE>,owners:TO,observed:Ctx & Output<S,HE>) -> Ctx & Output<S,Pack<HE,TE>>:
145 match observed:
146 case (ctx,output): combine(~S,~Ctx,~HE,~TE,tail(ctx,owners),output)