def publish_generic

bendvy-ecs-core@0.1.0.3 · execution_stream_channel.bend:16

import bendvy-ecs-core@0.1.0.3/execution_stream_channel.bend as ExecutionStreamChannel
import Base
import bendvy-ecs-core@0.1.0.3/machine_stream_queue.bend as Queue

16def publish_generic(-E:Data,store:Store<E>,sequence:Nat,event:E) -> Store<E>:
17  match store:
18    case Store{queue,olderThrough,maintenance}:Store{Queue.publish_generic(E,queue,sequence,[event]),olderThrough,maintenance}

Uses (4)

Used by (2)