def maintained

bendvy-ecs-core@0.1.0.3 · execution_relation_store.bend:59

import bendvy-ecs-core@0.1.0.3/execution_relation_store.bend as ExecutionRelationStore
import Base
import bendvy-ecs-core@0.1.0.3/relation_types.bend as T
import bendvy-ecs-core@0.1.0.3/execution_relation_failure_message.bend as Failure
import bendvy-ecs-core@0.1.0.3/execution_stream_channel.bend as Channel
import bendvy-ecs-core@0.1.0.3/change_tick.bend as Tick

59def maintained(~S:Data,~descriptor:T.Descriptor<S>,tick:Tick.Tick,store:Store<S,descriptor>) -> Store<S,descriptor>:
60  match store:
61    case Store{namespace,graph,failures,+sequence,nextReader}:Store{namespace,graph,Channel.maintain(~Failure.Message<S,descriptor>,sequence,tick,failures),sequence,nextReader}

Uses (5)

Used by (1)