execution_machine_stream.bend checks
raw source on the hub · import bendvy-ecs-core@0.1.0.3/execution_machine_stream.bend as Execution_machine_stream
6 imports
import Base import ./machine.bend as M import ./machine_stream_queue.bend as Queue import ./execution_stream_channel.bend as Channel import ./execution_composer_layout.bend as Layout import ./change_tick.bend as Tick
Types
type Store source · line 10 · raw
@-V:Data -> Data
Public machine constructors retain their existing shape. Message sequence, namespace checks, reading and two-generation retention use the shared channel.
Store@-V:Data -> @queue:0x704c77730661eff4309838fc738ef615/machine_stream_queue.Queue<0x704c77730661eff4309838fc738ef615/machine.Transition<V>> -> @olderThrough:Nat -> @maintenance:Maybe<&2, 0x704c77730661eff4309838fc738ef615/change_tick.Tick> -> Store<V>
type Reader source · line 12 · raw
@-S:Data -> @-K:Data -> @-V:Data -> @-origin:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> @-route:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Route -> Type
Reader@-S:Data -> @-K:Data -> @-V:Data -> @-origin:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> @-route:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Route -> @namespace:U32 -> @id:U32 -> @cursor:Nat -> Reader<S, K, V, origin, route>
type Reading source · line 14 · raw
@-S:Data -> @-K:Data -> @-V:Data -> @-origin:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> @-route:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Route -> Type
Read@-S:Data -> @-K:Data -> @-V:Data -> @-origin:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> @-route:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Route -> @reader:Reader<S, K, V, origin, route> -> @events:List<&2, 0x704c77730661eff4309838fc738ef615/machine.Transition<V>> -> @missed:Nat -> @tick:0x704c77730661eff4309838fc738ef615/change_tick.Tick -> Reading<S, K, V, origin, route>
Refused@-S:Data -> @-K:Data -> @-V:Data -> @-origin:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> @-route:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Route -> @reader:Reader<S, K, V, origin, route> -> Reading<S, K, V, origin, route>
Templates
template channel source · line 17 · raw
@-V:Data -> @store:Store<V> -> 0x704c77730661eff4309838fc738ef615/execution_stream_channel.Store<0x704c77730661eff4309838fc738ef615/machine.Transition<V>>
template stored source · line 20 · raw
@-V:Data -> @store:0x704c77730661eff4309838fc738ef615/execution_stream_channel.Store<0x704c77730661eff4309838fc738ef615/machine.Transition<V>> -> Store<V>
template empty source · line 23 · raw
@-V:Data -> Store<V>
template publish source · line 24 · raw
@-V:Data -> @store:Store<V> -> @sequence:Nat -> @event:0x704c77730661eff4309838fc738ef615/machine.Transition<V> -> Store<V>
template maintained source · line 26 · raw
@-V:Data -> @+sequence:Nat -> @tick:0x704c77730661eff4309838fc738ef615/change_tick.Tick -> @olderThrough:Nat -> @queue:0x704c77730661eff4309838fc738ef615/machine_stream_queue.Queue<0x704c77730661eff4309838fc738ef615/machine.Transition<V>> -> Store<V>
template maintain source · line 28 · raw
@-V:Data -> @sequence:Nat -> @tick:0x704c77730661eff4309838fc738ef615/change_tick.Tick -> @store:Store<V> -> Store<V>
template missed source · line 30 · raw
@-V:Data -> @queue:0x704c77730661eff4309838fc738ef615/machine_stream_queue.Queue<0x704c77730661eff4309838fc738ef615/machine.Transition<V>> -> @cursor:Nat -> Nat
template returned source · line 32 · raw
@-S:Data -> @-K:Data -> @-V:Data -> @-origin:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> @-route:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Route -> @reader:Reader<S, K, V, origin, route> -> @result:Pair(0x704c77730661eff4309838fc738ef615/execution_stream_channel.Store<0x704c77730661eff4309838fc738ef615/machine.Transition<V>>, 0x704c77730661eff4309838fc738ef615/execution_stream_channel.Reading<0x704c77730661eff4309838fc738ef615/machine.Transition<V>>) -> Pair(Store<V>, Reading<S, K, V, origin, route>)
template reading source · line 36 · raw
@-S:Data -> @-K:Data -> @-V:Data -> @-origin:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> @-route:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Route -> @+sequence:Nat -> @tick:0x704c77730661eff4309838fc738ef615/change_tick.Tick -> @reader:Reader<S, K, V, origin, route> -> @store:Store<V> -> Pair(Store<V>, Reading<S, K, V, origin, route>)
template checked source · line 39 · raw
@-S:Data -> @-K:Data -> @-V:Data -> @-origin:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> @-route:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Route -> @allowed:Bool -> @sequence:Nat -> @tick:0x704c77730661eff4309838fc738ef615/change_tick.Tick -> @reader:Reader<S, K, V, origin, route> -> @store:Store<V> -> Pair(Store<V>, Reading<S, K, V, origin, route>)
template read source · line 42 · raw
@-S:Data -> @-K:Data -> @-V:Data -> @-origin:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> @-route:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Route -> @namespace:Maybe<&2, U32> -> @sequence:Nat -> @tick:0x704c77730661eff4309838fc738ef615/change_tick.Tick -> @reader:Reader<S, K, V, origin, route> -> @store:Store<V> -> Pair(Store<V>, Reading<S, K, V, origin, route>)