def checked

bendvy-ecs-core@0.1.0.3 · execution_machine_stream.bend:39

import bendvy-ecs-core@0.1.0.3/execution_machine_stream.bend as ExecutionMachineStream
import Base
import bendvy-ecs-core@0.1.0.3/machine.bend as M
import bendvy-ecs-core@0.1.0.3/execution_stream_channel.bend as Channel
import bendvy-ecs-core@0.1.0.3/execution_composer_layout.bend as Layout
import bendvy-ecs-core@0.1.0.3/change_tick.bend as Tick

39def checked(~S:Data,~K:Data,~V:Data,~origin:Layout.Layout,~route:Layout.Route,allowed:Bool,sequence:Nat,tick:Tick.Tick,reader:Reader<S,K,V,origin,route>,store:Store<V>) -> Store<V> & Reading<S,K,V,origin,route>:
40  match reader:
41    case Reader{namespace,id,+cursor}:returned(~S,~K,~V,~origin,~route,Reader{namespace,id,cursor},Channel.checked(~M.Transition<V>,allowed,sequence,tick,cursor,channel(~V,store)))

Uses (13)

Used by (0)

No other definition uses this definition.