def frame

bendvy-ecs-core@0.1.0.4 · owned_event_storage.bend:55

import bendvy-ecs-core@0.1.0.4/owned_event_storage.bend as OwnedEventStorage
import Base
import bendvy-ecs-core@0.1.0.4/event_runtime.bend as Ev
import bendvy-ecs-core@0.1.0.4/owned_event_log.bend as Log

55# Existing Ev.frame chooses surviving complete batches. Return every other payload
56# owner once; the caller chooses reuse or release, with no automatic IO finalizer.
57def frame(~S:Data,~C:Type,~R:Type,~P:Type,runtime:Runtime(~S,~C,~R,~P)) -> Runtime(~S,~C,~R,~P) & List<Log.Row<P>>:
58  framed(~S,~C,~R,~P,Ev.frame(~S,~C,~Resources<R,P>,~Nat,runtime))

Uses (8)

Used by (0)

No other definition uses this definition.