def frame
import bendvy-ecs-core@0.1.0.4/event_publication.bend as EventPublicationimport Base
import event_stream.bend as Leaf
106def frame(~S:Data,~C:Type,~R:Type,~A:Data,~B:Data,~H:Type,app:Application<S,C,R,A,B,H>) -> Application<S,C,R,A,B,H>:
107 match app:
108 case Application{world,Streams{first,second,owners},journal,+tick,_}:framed_streams(~S,~C,~R,~A,~B,~H,world,Streams{Leaf.frame(~S,~A,first,tick),Leaf.frame(~S,~B,second,tick),owners},tick,journal)
Uses (4)
Used by (0)
No other definition uses this definition.