~/bend-docscommunity

event_family_routing.bend checks

raw source on the hub · import bendvy-ecs-core@0.1.0.7/event_family_routing.bend as Event_family_routing

8 imports
import Base
import ./execution_context.bend as Ctx
import ./world.bend as W
import ./system.bend as Sys
import ./event_runtime.bend as Ev
import ./trace_facts.bend as Facts
import ./ordinary_event_declaration.bend as Event
import ./event_stream.bend as Leaf

Types

type Runtime source · line 13 · raw

@S:Data -> @C:Type -> @R:Type -> @P:Data -> @F:Type -> Type

F is any finite generated product of typed stream leaves and affine owners. Actual sole World with heterogeneous family state F and routing tick. Canonical family builders couple selectors/streams; raw take/put/synchronize are trusted.

type Reader source · line 17 · raw

@S:Data -> @E:Data -> @F:Type -> @-take:(@_:F -> Pair(F, 0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E>)) -> @-put:(@_:F -> @_:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> F) -> Type

Affine reader token binding World namespace, stream-reader id and registry id to its typed stream selection. Raw field fabrication does not establish authority.

type Registration source · line 21 · raw

@S:Data -> @C:Type -> @R:Type -> @P:Data -> @E:Data -> @F:Type -> @A:Type -> @Error:Data -> @O:Type -> @-take:(@_:F -> Pair(F, 0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E>)) -> @-put:(@_:F -> @_:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> F) -> @-runner:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> 0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>) -> Type

Successful registration retains runtime, actual reader and actual registry; failure returns runtime without dropping heterogeneous family owners.

type RunResult source · line 56 · raw

@S:Data -> @C:Type -> @R:Type -> @P:Data -> @E:Data -> @F:Type -> @A:Type -> @Error:Data -> @O:Type -> @-take:(@_:F -> Pair(F, 0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E>)) -> @-put:(@_:F -> @_:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> F) -> @-runner:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> 0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>) -> Type

Every route result retains runtime, reader and registry. Inspect completion: Succeeded carries O, Failed carries callback error, Rejected returns actual Args. Semantic failure may be encoded inside O by higher adapters; inspect that too.

type ContextRunResult source · line 178 · raw

@S:Data -> @C:Type -> @R:Type -> @P:Data -> @E:Data -> @F:Type -> @A:Type -> @Error:Data -> @O:Type -> @-take:(@_:F -> Pair(F, 0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E>)) -> @-put:(@_:F -> @_:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> F) -> @-runner:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> 0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>) -> Type

Execution-context result retaining actual World/trace, family, routing tick, reader, registry and completion separately. Not a copied runtime checkpoint.

Templates

template registration_identity source · line 24 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-P:Data -> @-E:Data -> @-F:Type -> @-A:Type -> @-Error:Data -> @-O:Type -> @-take:(@_:F -> Pair(F, 0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E>)) -> @-put:(@_:F -> @_:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> F) -> @-runner:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> 0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>) -> @world:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @family:F -> @+tick:Nat -> @+namespace:U32 -> @returned:Pair(0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E>, U32) -> @identified:Pair(0x7e321819d0ff210531780719c7674cef/system.Registry<S, C, R, P, 0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A>, Error, O, runner>, U32) -> Registration<S, C, R, P, E, F, A, Error, O, take, put, runner>

template registration_result source · line 28 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-P:Data -> @-E:Data -> @-F:Type -> @-A:Type -> @-Error:Data -> @-O:Type -> @-take:(@_:F -> Pair(F, 0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E>)) -> @-put:(@_:F -> @_:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> F) -> @-runner:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> 0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>) -> @family:F -> @+stream:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> @+tick:Nat -> @+namespace:U32 -> @result:0x7e321819d0ff210531780719c7674cef/system.RegistrationResult<S, C, R, P, 0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A>, Error, O, runner> -> Registration<S, C, R, P, E, F, A, Error, O, take, put, runner>

template registration_read_checked source · line 32 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-P:Data -> @-E:Data -> @-F:Type -> @-A:Type -> @-Error:Data -> @-O:Type -> @-take:(@_:F -> Pair(F, 0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E>)) -> @-put:(@_:F -> @_:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> F) -> @-runner:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> 0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>) -> @available:Bool -> @family:F -> @stream:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> @tick:Nat -> @domain:0x7e321819d0ff210531780719c7674cef/ordinary_event_declaration.Domain<S, E> -> @+name:String -> @world:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @namespace:U32 -> Registration<S, C, R, P, E, F, A, Error, O, take, put, runner>

template registration_namespace source · line 36 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-P:Data -> @-E:Data -> @-F:Type -> @-A:Type -> @-Error:Data -> @-O:Type -> @-take:(@_:F -> Pair(F, 0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E>)) -> @-put:(@_:F -> @_:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> F) -> @-runner:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> 0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>) -> @family:F -> @+stream:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> @tick:Nat -> @declaration:0x7e321819d0ff210531780719c7674cef/ordinary_event_declaration.Declaration<S, E> -> @+name:String -> @world:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @namespace:U32 -> Registration<S, C, R, P, E, F, A, Error, O, take, put, runner>

template registration_named source · line 40 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-P:Data -> @-E:Data -> @-F:Type -> @-A:Type -> @-Error:Data -> @-O:Type -> @-take:(@_:F -> Pair(F, 0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E>)) -> @-put:(@_:F -> @_:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> F) -> @-runner:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> 0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>) -> @family:F -> @stream:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> @tick:Nat -> @declaration:0x7e321819d0ff210531780719c7674cef/ordinary_event_declaration.Declaration<S, E> -> @name:String -> @named:Pair(0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, U32) -> Registration<S, C, R, P, E, F, A, Error, O, take, put, runner>

template registration_leaf source · line 43 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-P:Data -> @-E:Data -> @-F:Type -> @-A:Type -> @-Error:Data -> @-O:Type -> @-take:(@_:F -> Pair(F, 0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E>)) -> @-put:(@_:F -> @_:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> F) -> @-runner:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> 0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>) -> @world:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @tick:Nat -> @name:String -> @returned:Pair(F, 0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E>) -> Registration<S, C, R, P, E, F, A, Error, O, take, put, runner>

template register source · line 49 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-P:Data -> @-E:Data -> @-F:Type -> @-A:Type -> @-Error:Data -> @-O:Type -> @-take:(@_:F -> Pair(F, 0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E>)) -> @-put:(@_:F -> @_:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> F) -> @-runner:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> 0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>) -> @runtime:Runtime<S, C, R, P, F> -> @name:String -> Registration<S, C, R, P, E, F, A, Error, O, take, put, runner>

Register against the selected stream's read declaration and actual World. Check stream/system id admission before returning reader/registry; does not run a callback or activate unread position merely by registering.

template run_synchronized_traced source · line 58 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-P:Data -> @-E:Data -> @-F:Type -> @-A:Type -> @-Error:Data -> @-O:Type -> @-take:(@_:F -> Pair(F, 0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E>)) -> @-put:(@_:F -> @_:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> F) -> @-runner:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> 0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>) -> @-observed:(@_:0x7e321819d0ff210531780719c7674cef/trace_facts.State -> @_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> Pair(0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>, 0x7e321819d0ff210531780719c7674cef/trace_facts.State)) -> @reader:Reader<S, E, F, take, put> -> @registry:0x7e321819d0ff210531780719c7674cef/system.Registry<S, C, R, P, 0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A>, Error, O, runner> -> @tick:Nat -> @output:O -> @returned:Pair(0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, F) -> @trace:0x7e321819d0ff210531780719c7674cef/trace_facts.State -> Pair(RunResult<S, C, R, P, E, F, A, Error, O, take, put, runner>, 0x7e321819d0ff210531780719c7674cef/trace_facts.State)

template prior_positions source · line 61 · raw

@-S:Data -> @-E:Data -> @stream:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> Pair(0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E>, List<&2, 0x7e321819d0ff210531780719c7674cef/event_runtime.Position>)

template restored_positions source · line 64 · raw

@-S:Data -> @-E:Data -> @old:List<&2, 0x7e321819d0ff210531780719c7674cef/event_runtime.Position> -> @id:U32 -> @tick:Nat -> @stream:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> 0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E>

template run_completion_taken source · line 67 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-P:Data -> @-E:Data -> @-F:Type -> @-A:Type -> @-Error:Data -> @-O:Type -> @-take:(@_:F -> Pair(F, 0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E>)) -> @-put:(@_:F -> @_:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> F) -> @-runner:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> 0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>) -> @-observed:(@_:0x7e321819d0ff210531780719c7674cef/trace_facts.State -> @_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> Pair(0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>, 0x7e321819d0ff210531780719c7674cef/trace_facts.State)) -> @reader:Reader<S, E, F, take, put> -> @registry:0x7e321819d0ff210531780719c7674cef/system.Registry<S, C, R, P, 0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A>, Error, O, runner> -> @+tick:Nat -> @output:O -> @world:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @old:List<&2, 0x7e321819d0ff210531780719c7674cef/event_runtime.Position> -> @id:U32 -> @returned:Pair(F, 0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E>) -> @trace:0x7e321819d0ff210531780719c7674cef/trace_facts.State -> Pair(RunResult<S, C, R, P, E, F, A, Error, O, take, put, runner>, 0x7e321819d0ff210531780719c7674cef/trace_facts.State)

template run_completion_synced source · line 70 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-P:Data -> @-E:Data -> @-F:Type -> @-A:Type -> @-Error:Data -> @-O:Type -> @-take:(@_:F -> Pair(F, 0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E>)) -> @-put:(@_:F -> @_:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> F) -> @-runner:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> 0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>) -> @-observed:(@_:0x7e321819d0ff210531780719c7674cef/trace_facts.State -> @_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> Pair(0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>, 0x7e321819d0ff210531780719c7674cef/trace_facts.State)) -> @reader:Reader<S, E, F, take, put> -> @registry:0x7e321819d0ff210531780719c7674cef/system.Registry<S, C, R, P, 0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A>, Error, O, runner> -> @tick:Nat -> @output:O -> @old:List<&2, 0x7e321819d0ff210531780719c7674cef/event_runtime.Position> -> @id:U32 -> @returned:Pair(0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, F) -> @trace:0x7e321819d0ff210531780719c7674cef/trace_facts.State -> Pair(RunResult<S, C, R, P, E, F, A, Error, O, take, put, runner>, 0x7e321819d0ff210531780719c7674cef/trace_facts.State)

template run_accepted_positions source · line 73 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-P:Data -> @-E:Data -> @-F:Type -> @-A:Type -> @-Error:Data -> @-O:Type -> @-take:(@_:F -> Pair(F, 0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E>)) -> @-put:(@_:F -> @_:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> F) -> @-runner:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> 0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>) -> @-observed:(@_:0x7e321819d0ff210531780719c7674cef/trace_facts.State -> @_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> Pair(0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>, 0x7e321819d0ff210531780719c7674cef/trace_facts.State)) -> @-accepted:(@_:O -> Pair(O, Bool)) -> @-synchronize:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:F -> @_:Nat -> Pair(0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, F)) -> @family:F -> @reader:Reader<S, E, F, take, put> -> @registry:0x7e321819d0ff210531780719c7674cef/system.Registry<S, C, R, P, 0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A>, Error, O, runner> -> @+id:U32 -> @+tick:Nat -> @world:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @output:O -> @success:Bool -> @prior:Pair(0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E>, List<&2, 0x7e321819d0ff210531780719c7674cef/event_runtime.Position>) -> @trace:0x7e321819d0ff210531780719c7674cef/trace_facts.State -> Pair(RunResult<S, C, R, P, E, F, A, Error, O, take, put, runner>, 0x7e321819d0ff210531780719c7674cef/trace_facts.State)

template run_accepted_traced source · line 77 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-P:Data -> @-E:Data -> @-F:Type -> @-A:Type -> @-Error:Data -> @-O:Type -> @-take:(@_:F -> Pair(F, 0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E>)) -> @-put:(@_:F -> @_:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> F) -> @-runner:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> 0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>) -> @-observed:(@_:0x7e321819d0ff210531780719c7674cef/trace_facts.State -> @_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> Pair(0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>, 0x7e321819d0ff210531780719c7674cef/trace_facts.State)) -> @-accepted:(@_:O -> Pair(O, Bool)) -> @-synchronize:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:F -> @_:Nat -> Pair(0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, F)) -> @family:F -> @+stream:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> @reader:Reader<S, E, F, take, put> -> @registry:0x7e321819d0ff210531780719c7674cef/system.Registry<S, C, R, P, 0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A>, Error, O, runner> -> @+id:U32 -> @+tick:Nat -> @world:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @completion:Pair(O, Bool) -> @trace:0x7e321819d0ff210531780719c7674cef/trace_facts.State -> Pair(RunResult<S, C, R, P, E, F, A, Error, O, take, put, runner>, 0x7e321819d0ff210531780719c7674cef/trace_facts.State)

template run_outcome_traced source · line 80 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-P:Data -> @-E:Data -> @-F:Type -> @-A:Type -> @-Error:Data -> @-O:Type -> @-take:(@_:F -> Pair(F, 0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E>)) -> @-put:(@_:F -> @_:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> F) -> @-runner:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> 0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>) -> @-observed:(@_:0x7e321819d0ff210531780719c7674cef/trace_facts.State -> @_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> Pair(0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>, 0x7e321819d0ff210531780719c7674cef/trace_facts.State)) -> @-accepted:(@_:O -> Pair(O, Bool)) -> @-synchronize:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:F -> @_:Nat -> Pair(0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, F)) -> @family:F -> @+stream:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> @reader:Reader<S, E, F, take, put> -> @registry:0x7e321819d0ff210531780719c7674cef/system.Registry<S, C, R, P, 0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A>, Error, O, runner> -> @+id:U32 -> @+tick:Nat -> @outcome:0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O> -> @trace:0x7e321819d0ff210531780719c7674cef/trace_facts.State -> Pair(RunResult<S, C, R, P, E, F, A, Error, O, take, put, runner>, 0x7e321819d0ff210531780719c7674cef/trace_facts.State)

template run_result_traced source · line 84 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-P:Data -> @-E:Data -> @-F:Type -> @-A:Type -> @-Error:Data -> @-O:Type -> @-take:(@_:F -> Pair(F, 0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E>)) -> @-put:(@_:F -> @_:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> F) -> @-runner:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> 0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>) -> @-observed:(@_:0x7e321819d0ff210531780719c7674cef/trace_facts.State -> @_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> Pair(0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>, 0x7e321819d0ff210531780719c7674cef/trace_facts.State)) -> @-accepted:(@_:O -> Pair(O, Bool)) -> @-synchronize:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:F -> @_:Nat -> Pair(0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, F)) -> @family:F -> @stream:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> @reader:Reader<S, E, F, take, put> -> @id:U32 -> @tick:Nat -> @result:Pair(0x7e321819d0ff210531780719c7674cef/system.RunResult<S, C, R, P, 0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A>, Error, O, runner>, 0x7e321819d0ff210531780719c7674cef/trace_facts.State) -> Pair(RunResult<S, C, R, P, E, F, A, Error, O, take, put, runner>, 0x7e321819d0ff210531780719c7674cef/trace_facts.State)

template read_fact_declared source · line 88 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-P:Data -> @-E:Data -> @-F:Type -> @-A:Type -> @-Error:Data -> @-O:Type -> @-take:(@_:F -> Pair(F, 0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E>)) -> @-put:(@_:F -> @_:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> F) -> @-runner:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> 0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>) -> @-observed:(@_:0x7e321819d0ff210531780719c7674cef/trace_facts.State -> @_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> Pair(0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>, 0x7e321819d0ff210531780719c7674cef/trace_facts.State)) -> @registry:0x7e321819d0ff210531780719c7674cef/system.Registry<S, C, R, P, 0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A>, Error, O, runner> -> @readerId:U32 -> @lagged:Bool -> @facts:List<&2, 0x7e321819d0ff210531780719c7674cef/trace_facts.Fact> -> @declaration:0x7e321819d0ff210531780719c7674cef/ordinary_event_declaration.Declaration<S, E> -> Pair(0x7e321819d0ff210531780719c7674cef/system.Registry<S, C, R, P, 0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A>, Error, O, runner>, 0x7e321819d0ff210531780719c7674cef/trace_facts.State)

template read_fact source · line 91 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-P:Data -> @-E:Data -> @-F:Type -> @-A:Type -> @-Error:Data -> @-O:Type -> @-take:(@_:F -> Pair(F, 0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E>)) -> @-put:(@_:F -> @_:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> F) -> @-runner:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> 0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>) -> @-observed:(@_:0x7e321819d0ff210531780719c7674cef/trace_facts.State -> @_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> Pair(0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>, 0x7e321819d0ff210531780719c7674cef/trace_facts.State)) -> @registry:0x7e321819d0ff210531780719c7674cef/system.Registry<S, C, R, P, 0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A>, Error, O, runner> -> @readerId:U32 -> @lagged:Bool -> @stream:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> @trace:0x7e321819d0ff210531780719c7674cef/trace_facts.State -> Pair(0x7e321819d0ff210531780719c7674cef/system.Registry<S, C, R, P, 0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A>, Error, O, runner>, 0x7e321819d0ff210531780719c7674cef/trace_facts.State)

template run_recorded source · line 95 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-P:Data -> @-E:Data -> @-F:Type -> @-A:Type -> @-Error:Data -> @-O:Type -> @-take:(@_:F -> Pair(F, 0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E>)) -> @-put:(@_:F -> @_:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> F) -> @-runner:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> 0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>) -> @-observed:(@_:0x7e321819d0ff210531780719c7674cef/trace_facts.State -> @_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> Pair(0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>, 0x7e321819d0ff210531780719c7674cef/trace_facts.State)) -> @-accepted:(@_:O -> Pair(O, Bool)) -> @-synchronize:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:F -> @_:Nat -> Pair(0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, F)) -> @world:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @family:F -> @stream:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> @reader:Reader<S, E, F, take, put> -> @id:U32 -> @tick:Nat -> @args:A -> @values:List<&2, E> -> @lagged:Bool -> @recorded:Pair(0x7e321819d0ff210531780719c7674cef/system.Registry<S, C, R, P, 0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A>, Error, O, runner>, 0x7e321819d0ff210531780719c7674cef/trace_facts.State) -> Pair(RunResult<S, C, R, P, E, F, A, Error, O, take, put, runner>, 0x7e321819d0ff210531780719c7674cef/trace_facts.State)

template run_reading_traced source · line 98 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-P:Data -> @-E:Data -> @-F:Type -> @-A:Type -> @-Error:Data -> @-O:Type -> @-take:(@_:F -> Pair(F, 0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E>)) -> @-put:(@_:F -> @_:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> F) -> @-runner:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> 0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>) -> @-observed:(@_:0x7e321819d0ff210531780719c7674cef/trace_facts.State -> @_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> Pair(0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>, 0x7e321819d0ff210531780719c7674cef/trace_facts.State)) -> @-accepted:(@_:O -> Pair(O, Bool)) -> @-synchronize:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:F -> @_:Nat -> Pair(0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, F)) -> @world:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @family:F -> @+stream:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> @reader:Reader<S, E, F, take, put> -> @registry:0x7e321819d0ff210531780719c7674cef/system.Registry<S, C, R, P, 0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A>, Error, O, runner> -> @+id:U32 -> @tick:Nat -> @args:A -> @reading:0x7e321819d0ff210531780719c7674cef/event_runtime.Reading<E> -> @trace:0x7e321819d0ff210531780719c7674cef/trace_facts.State -> Pair(RunResult<S, C, R, P, E, F, A, Error, O, take, put, runner>, 0x7e321819d0ff210531780719c7674cef/trace_facts.State)

template run_leaf_reading_traced source · line 101 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-P:Data -> @-E:Data -> @-F:Type -> @-A:Type -> @-Error:Data -> @-O:Type -> @-take:(@_:F -> Pair(F, 0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E>)) -> @-put:(@_:F -> @_:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> F) -> @-runner:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> 0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>) -> @-observed:(@_:0x7e321819d0ff210531780719c7674cef/trace_facts.State -> @_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> Pair(0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>, 0x7e321819d0ff210531780719c7674cef/trace_facts.State)) -> @-accepted:(@_:O -> Pair(O, Bool)) -> @-synchronize:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:F -> @_:Nat -> Pair(0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, F)) -> @world:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @family:F -> @reader:Reader<S, E, F, take, put> -> @registry:0x7e321819d0ff210531780719c7674cef/system.Registry<S, C, R, P, 0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A>, Error, O, runner> -> @id:U32 -> @tick:Nat -> @args:A -> @returned:Pair(0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E>, 0x7e321819d0ff210531780719c7674cef/event_runtime.Reading<E>) -> @trace:0x7e321819d0ff210531780719c7674cef/trace_facts.State -> Pair(RunResult<S, C, R, P, E, F, A, Error, O, take, put, runner>, 0x7e321819d0ff210531780719c7674cef/trace_facts.State)

template run_leaf_traced source · line 104 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-P:Data -> @-E:Data -> @-F:Type -> @-A:Type -> @-Error:Data -> @-O:Type -> @-take:(@_:F -> Pair(F, 0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E>)) -> @-put:(@_:F -> @_:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> F) -> @-runner:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> 0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>) -> @-observed:(@_:0x7e321819d0ff210531780719c7674cef/trace_facts.State -> @_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> Pair(0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>, 0x7e321819d0ff210531780719c7674cef/trace_facts.State)) -> @-accepted:(@_:O -> Pair(O, Bool)) -> @-synchronize:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:F -> @_:Nat -> Pair(0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, F)) -> @world:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @reader:Reader<S, E, F, take, put> -> @registry:0x7e321819d0ff210531780719c7674cef/system.Registry<S, C, R, P, 0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A>, Error, O, runner> -> @+id:U32 -> @+tick:Nat -> @args:A -> @returned:Pair(F, 0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E>) -> @trace:0x7e321819d0ff210531780719c7674cef/trace_facts.State -> Pair(RunResult<S, C, R, P, E, F, A, Error, O, take, put, runner>, 0x7e321819d0ff210531780719c7674cef/trace_facts.State)

template run_live_checked source · line 107 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-P:Data -> @-E:Data -> @-F:Type -> @-A:Type -> @-Error:Data -> @-O:Type -> @-take:(@_:F -> Pair(F, 0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E>)) -> @-put:(@_:F -> @_:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> F) -> @-runner:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> 0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>) -> @-observed:(@_:0x7e321819d0ff210531780719c7674cef/trace_facts.State -> @_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> Pair(0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>, 0x7e321819d0ff210531780719c7674cef/trace_facts.State)) -> @-accepted:(@_:O -> Pair(O, Bool)) -> @-synchronize:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:F -> @_:Nat -> Pair(0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, F)) -> @family:F -> @reader:Reader<S, E, F, take, put> -> @registry:0x7e321819d0ff210531780719c7674cef/system.Registry<S, C, R, P, 0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A>, Error, O, runner> -> @id:U32 -> @tick:Nat -> @args:A -> @trace:0x7e321819d0ff210531780719c7674cef/trace_facts.State -> @checked:Pair(0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Bool) -> Pair(RunResult<S, C, R, P, E, F, A, Error, O, take, put, runner>, 0x7e321819d0ff210531780719c7674cef/trace_facts.State)

template run_metadata_checked source · line 111 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-P:Data -> @-E:Data -> @-F:Type -> @-A:Type -> @-Error:Data -> @-O:Type -> @-take:(@_:F -> Pair(F, 0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E>)) -> @-put:(@_:F -> @_:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> F) -> @-runner:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> 0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>) -> @-observed:(@_:0x7e321819d0ff210531780719c7674cef/trace_facts.State -> @_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> Pair(0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>, 0x7e321819d0ff210531780719c7674cef/trace_facts.State)) -> @-accepted:(@_:O -> Pair(O, Bool)) -> @-synchronize:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:F -> @_:Nat -> Pair(0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, F)) -> @family:F -> @reader:Reader<S, E, F, take, put> -> @registry:0x7e321819d0ff210531780719c7674cef/system.Registry<S, C, R, P, 0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A>, Error, O, runner> -> @id:U32 -> @tick:Nat -> @args:A -> @trace:0x7e321819d0ff210531780719c7674cef/trace_facts.State -> @namespaceAllowed:Bool -> @checked:Pair(0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Bool) -> Pair(RunResult<S, C, R, P, E, F, A, Error, O, take, put, runner>, 0x7e321819d0ff210531780719c7674cef/trace_facts.State)

template run_registry_named source · line 114 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-P:Data -> @-E:Data -> @-F:Type -> @-A:Type -> @-Error:Data -> @-O:Type -> @-take:(@_:F -> Pair(F, 0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E>)) -> @-put:(@_:F -> @_:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> F) -> @-runner:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> 0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>) -> @-observed:(@_:0x7e321819d0ff210531780719c7674cef/trace_facts.State -> @_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> Pair(0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>, 0x7e321819d0ff210531780719c7674cef/trace_facts.State)) -> @-accepted:(@_:O -> Pair(O, Bool)) -> @-synchronize:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:F -> @_:Nat -> Pair(0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, F)) -> @family:F -> @reader:Reader<S, E, F, take, put> -> @registry:0x7e321819d0ff210531780719c7674cef/system.Registry<S, C, R, P, 0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A>, Error, O, runner> -> @id:U32 -> @tick:Nat -> @args:A -> @trace:0x7e321819d0ff210531780719c7674cef/trace_facts.State -> @named:Pair(0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, U32) -> Pair(RunResult<S, C, R, P, E, F, A, Error, O, take, put, runner>, 0x7e321819d0ff210531780719c7674cef/trace_facts.State)

template run_registered source · line 117 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-P:Data -> @-E:Data -> @-F:Type -> @-A:Type -> @-Error:Data -> @-O:Type -> @-take:(@_:F -> Pair(F, 0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E>)) -> @-put:(@_:F -> @_:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> F) -> @-runner:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> 0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>) -> @-observed:(@_:0x7e321819d0ff210531780719c7674cef/trace_facts.State -> @_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> Pair(0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>, 0x7e321819d0ff210531780719c7674cef/trace_facts.State)) -> @-accepted:(@_:O -> Pair(O, Bool)) -> @-synchronize:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:F -> @_:Nat -> Pair(0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, F)) -> @world:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @family:F -> @reader:Reader<S, E, F, take, put> -> @registry:0x7e321819d0ff210531780719c7674cef/system.Registry<S, C, R, P, 0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A>, Error, O, runner> -> @id:U32 -> @tick:Nat -> @args:A -> @trace:0x7e321819d0ff210531780719c7674cef/trace_facts.State -> Pair(RunResult<S, C, R, P, E, F, A, Error, O, take, put, runner>, 0x7e321819d0ff210531780719c7674cef/trace_facts.State)

template run_checked_traced source · line 119 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-P:Data -> @-E:Data -> @-F:Type -> @-A:Type -> @-Error:Data -> @-O:Type -> @-take:(@_:F -> Pair(F, 0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E>)) -> @-put:(@_:F -> @_:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> F) -> @-runner:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> 0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>) -> @-observed:(@_:0x7e321819d0ff210531780719c7674cef/trace_facts.State -> @_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> Pair(0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>, 0x7e321819d0ff210531780719c7674cef/trace_facts.State)) -> @-accepted:(@_:O -> Pair(O, Bool)) -> @-synchronize:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:F -> @_:Nat -> Pair(0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, F)) -> @allowed:Bool -> @world:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @family:F -> @reader:Reader<S, E, F, take, put> -> @registry:0x7e321819d0ff210531780719c7674cef/system.Registry<S, C, R, P, 0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A>, Error, O, runner> -> @id:U32 -> @tick:Nat -> @args:A -> @trace:0x7e321819d0ff210531780719c7674cef/trace_facts.State -> Pair(RunResult<S, C, R, P, E, F, A, Error, O, take, put, runner>, 0x7e321819d0ff210531780719c7674cef/trace_facts.State)

template run_identity_traced source · line 123 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-P:Data -> @-E:Data -> @-F:Type -> @-A:Type -> @-Error:Data -> @-O:Type -> @-take:(@_:F -> Pair(F, 0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E>)) -> @-put:(@_:F -> @_:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> F) -> @-runner:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> 0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>) -> @-observed:(@_:0x7e321819d0ff210531780719c7674cef/trace_facts.State -> @_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> Pair(0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>, 0x7e321819d0ff210531780719c7674cef/trace_facts.State)) -> @-accepted:(@_:O -> Pair(O, Bool)) -> @-synchronize:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:F -> @_:Nat -> Pair(0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, F)) -> @family:F -> @tick:Nat -> @args:A -> @reader:Reader<S, E, F, take, put> -> @registry:0x7e321819d0ff210531780719c7674cef/system.Registry<S, C, R, P, 0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A>, Error, O, runner> -> @actual:U32 -> @named:Pair(0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, U32) -> @trace:0x7e321819d0ff210531780719c7674cef/trace_facts.State -> Pair(RunResult<S, C, R, P, E, F, A, Error, O, take, put, runner>, 0x7e321819d0ff210531780719c7674cef/trace_facts.State)

template run_identified_traced source · line 128 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-P:Data -> @-E:Data -> @-F:Type -> @-A:Type -> @-Error:Data -> @-O:Type -> @-take:(@_:F -> Pair(F, 0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E>)) -> @-put:(@_:F -> @_:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> F) -> @-runner:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> 0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>) -> @-observed:(@_:0x7e321819d0ff210531780719c7674cef/trace_facts.State -> @_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> Pair(0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>, 0x7e321819d0ff210531780719c7674cef/trace_facts.State)) -> @-accepted:(@_:O -> Pair(O, Bool)) -> @-synchronize:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:F -> @_:Nat -> Pair(0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, F)) -> @runtime:Runtime<S, C, R, P, F> -> @reader:Reader<S, E, F, take, put> -> @args:A -> @identified:Pair(0x7e321819d0ff210531780719c7674cef/system.Registry<S, C, R, P, 0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A>, Error, O, runner>, U32) -> @trace:0x7e321819d0ff210531780719c7674cef/trace_facts.State -> Pair(RunResult<S, C, R, P, E, F, A, Error, O, take, put, runner>, 0x7e321819d0ff210531780719c7674cef/trace_facts.State)

template run_traced source · line 141 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-P:Data -> @-E:Data -> @-F:Type -> @-A:Type -> @-Error:Data -> @-O:Type -> @-take:(@_:F -> Pair(F, 0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E>)) -> @-put:(@_:F -> @_:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> F) -> @-runner:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> 0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>) -> @-observed:(@_:0x7e321819d0ff210531780719c7674cef/trace_facts.State -> @_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> Pair(0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>, 0x7e321819d0ff210531780719c7674cef/trace_facts.State)) -> @-accepted:(@_:O -> Pair(O, Bool)) -> @-synchronize:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:F -> @_:Nat -> Pair(0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, F)) -> @runtime:Runtime<S, C, R, P, F> -> @reader:Reader<S, E, F, take, put> -> @registry:0x7e321819d0ff210531780719c7674cef/system.Registry<S, C, R, P, 0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A>, Error, O, runner> -> @args:A -> @trace:0x7e321819d0ff210531780719c7674cef/trace_facts.State -> Pair(RunResult<S, C, R, P, E, F, A, Error, O, take, put, runner>, 0x7e321819d0ff210531780719c7674cef/trace_facts.State)

Validated reader/registry routing with trace-aware runner and semantic accepted callback. Namespace/id mismatch rejects before invocation and returns Args; actual registry metadata is also checked. Read unread values in stream order with lag status. Success advances cursor and synchronizes returned publications; Sys failure retains unread position. accepted(False) restores prior selected positions despite transport success, preserving higher-level semantic retry. Return actual owners and fact state; no payload copying, implicit barrier or automatic rollback of arbitrary callback effects is supplied.

template accept_all source · line 143 · raw

@-O:Type -> @value:O -> Pair(O, Bool)

template unobserved source · line 145 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-P:Data -> @-E:Data -> @-F:Type -> @-A:Type -> @-Error:Data -> @-O:Type -> @-take:(@_:F -> Pair(F, 0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E>)) -> @-put:(@_:F -> @_:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> F) -> @-runner:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> 0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>) -> @trace:0x7e321819d0ff210531780719c7674cef/trace_facts.State -> @world:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @args:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> Pair(0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>, 0x7e321819d0ff210531780719c7674cef/trace_facts.State)

template without_trace source · line 147 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-P:Data -> @-E:Data -> @-F:Type -> @-A:Type -> @-Error:Data -> @-O:Type -> @-take:(@_:F -> Pair(F, 0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E>)) -> @-put:(@_:F -> @_:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> F) -> @-runner:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> 0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>) -> @result:Pair(RunResult<S, C, R, P, E, F, A, Error, O, take, put, runner>, 0x7e321819d0ff210531780719c7674cef/trace_facts.State) -> RunResult<S, C, R, P, E, F, A, Error, O, take, put, runner>

template run_synchronized source · line 150 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-P:Data -> @-E:Data -> @-F:Type -> @-A:Type -> @-Error:Data -> @-O:Type -> @-take:(@_:F -> Pair(F, 0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E>)) -> @-put:(@_:F -> @_:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> F) -> @-runner:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> 0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>) -> @reader:Reader<S, E, F, take, put> -> @registry:0x7e321819d0ff210531780719c7674cef/system.Registry<S, C, R, P, 0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A>, Error, O, runner> -> @tick:Nat -> @output:O -> @returned:Pair(0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, F) -> RunResult<S, C, R, P, E, F, A, Error, O, take, put, runner>

template run_outcome source · line 152 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-P:Data -> @-E:Data -> @-F:Type -> @-A:Type -> @-Error:Data -> @-O:Type -> @-take:(@_:F -> Pair(F, 0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E>)) -> @-put:(@_:F -> @_:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> F) -> @-runner:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> 0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>) -> @-synchronize:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:F -> @_:Nat -> Pair(0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, F)) -> @family:F -> @+stream:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> @reader:Reader<S, E, F, take, put> -> @registry:0x7e321819d0ff210531780719c7674cef/system.Registry<S, C, R, P, 0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A>, Error, O, runner> -> @+id:U32 -> @+tick:Nat -> @outcome:0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O> -> RunResult<S, C, R, P, E, F, A, Error, O, take, put, runner>

template run_result source · line 154 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-P:Data -> @-E:Data -> @-F:Type -> @-A:Type -> @-Error:Data -> @-O:Type -> @-take:(@_:F -> Pair(F, 0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E>)) -> @-put:(@_:F -> @_:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> F) -> @-runner:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> 0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>) -> @-synchronize:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:F -> @_:Nat -> Pair(0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, F)) -> @family:F -> @stream:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> @reader:Reader<S, E, F, take, put> -> @id:U32 -> @tick:Nat -> @result:0x7e321819d0ff210531780719c7674cef/system.RunResult<S, C, R, P, 0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A>, Error, O, runner> -> RunResult<S, C, R, P, E, F, A, Error, O, take, put, runner>

template run_reading source · line 156 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-P:Data -> @-E:Data -> @-F:Type -> @-A:Type -> @-Error:Data -> @-O:Type -> @-take:(@_:F -> Pair(F, 0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E>)) -> @-put:(@_:F -> @_:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> F) -> @-runner:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> 0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>) -> @-synchronize:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:F -> @_:Nat -> Pair(0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, F)) -> @world:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @family:F -> @stream:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> @reader:Reader<S, E, F, take, put> -> @registry:0x7e321819d0ff210531780719c7674cef/system.Registry<S, C, R, P, 0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A>, Error, O, runner> -> @id:U32 -> @tick:Nat -> @args:A -> @reading:0x7e321819d0ff210531780719c7674cef/event_runtime.Reading<E> -> RunResult<S, C, R, P, E, F, A, Error, O, take, put, runner>

template run_leaf_reading source · line 158 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-P:Data -> @-E:Data -> @-F:Type -> @-A:Type -> @-Error:Data -> @-O:Type -> @-take:(@_:F -> Pair(F, 0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E>)) -> @-put:(@_:F -> @_:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> F) -> @-runner:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> 0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>) -> @-synchronize:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:F -> @_:Nat -> Pair(0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, F)) -> @world:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @family:F -> @reader:Reader<S, E, F, take, put> -> @registry:0x7e321819d0ff210531780719c7674cef/system.Registry<S, C, R, P, 0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A>, Error, O, runner> -> @id:U32 -> @tick:Nat -> @args:A -> @returned:Pair(0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E>, 0x7e321819d0ff210531780719c7674cef/event_runtime.Reading<E>) -> RunResult<S, C, R, P, E, F, A, Error, O, take, put, runner>

template run_leaf source · line 160 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-P:Data -> @-E:Data -> @-F:Type -> @-A:Type -> @-Error:Data -> @-O:Type -> @-take:(@_:F -> Pair(F, 0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E>)) -> @-put:(@_:F -> @_:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> F) -> @-runner:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> 0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>) -> @-synchronize:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:F -> @_:Nat -> Pair(0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, F)) -> @world:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @reader:Reader<S, E, F, take, put> -> @registry:0x7e321819d0ff210531780719c7674cef/system.Registry<S, C, R, P, 0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A>, Error, O, runner> -> @+id:U32 -> @+tick:Nat -> @args:A -> @returned:Pair(F, 0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E>) -> RunResult<S, C, R, P, E, F, A, Error, O, take, put, runner>

template run_checked source · line 162 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-P:Data -> @-E:Data -> @-F:Type -> @-A:Type -> @-Error:Data -> @-O:Type -> @-take:(@_:F -> Pair(F, 0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E>)) -> @-put:(@_:F -> @_:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> F) -> @-runner:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> 0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>) -> @-synchronize:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:F -> @_:Nat -> Pair(0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, F)) -> @allowed:Bool -> @world:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @family:F -> @reader:Reader<S, E, F, take, put> -> @registry:0x7e321819d0ff210531780719c7674cef/system.Registry<S, C, R, P, 0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A>, Error, O, runner> -> @id:U32 -> @tick:Nat -> @args:A -> RunResult<S, C, R, P, E, F, A, Error, O, take, put, runner>

template run_identity source · line 164 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-P:Data -> @-E:Data -> @-F:Type -> @-A:Type -> @-Error:Data -> @-O:Type -> @-take:(@_:F -> Pair(F, 0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E>)) -> @-put:(@_:F -> @_:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> F) -> @-runner:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> 0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>) -> @-synchronize:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:F -> @_:Nat -> Pair(0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, F)) -> @family:F -> @tick:Nat -> @args:A -> @reader:Reader<S, E, F, take, put> -> @registry:0x7e321819d0ff210531780719c7674cef/system.Registry<S, C, R, P, 0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A>, Error, O, runner> -> @actual:U32 -> @named:Pair(0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, U32) -> RunResult<S, C, R, P, E, F, A, Error, O, take, put, runner>

template run_identified source · line 166 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-P:Data -> @-E:Data -> @-F:Type -> @-A:Type -> @-Error:Data -> @-O:Type -> @-take:(@_:F -> Pair(F, 0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E>)) -> @-put:(@_:F -> @_:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> F) -> @-runner:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> 0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>) -> @-synchronize:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:F -> @_:Nat -> Pair(0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, F)) -> @runtime:Runtime<S, C, R, P, F> -> @reader:Reader<S, E, F, take, put> -> @args:A -> @identified:Pair(0x7e321819d0ff210531780719c7674cef/system.Registry<S, C, R, P, 0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A>, Error, O, runner>, U32) -> RunResult<S, C, R, P, E, F, A, Error, O, take, put, runner>

template run source · line 173 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-P:Data -> @-E:Data -> @-F:Type -> @-A:Type -> @-Error:Data -> @-O:Type -> @-take:(@_:F -> Pair(F, 0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E>)) -> @-put:(@_:F -> @_:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> F) -> @-runner:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> 0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>) -> @-synchronize:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:F -> @_:Nat -> Pair(0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, F)) -> @runtime:Runtime<S, C, R, P, F> -> @reader:Reader<S, E, F, take, put> -> @registry:0x7e321819d0ff210531780719c7674cef/system.Registry<S, C, R, P, 0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A>, Error, O, runner> -> @args:A -> RunResult<S, C, R, P, E, F, A, Error, O, take, put, runner>

Untraced routing using the same identity/registry admission and ownership path. Every Sys.Succeeded output is accepted here; adapters encoding semantic failure in O must reconcile it or use run_traced with an acceptance callback. Rejected returns Args, Failed does not promise consumed Args recovery. Tick changes follow the routing branch, not an ordinary lifecycle-reader cursor.

template context_returned source · line 182 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-P:Data -> @-E:Data -> @-F:Type -> @-A:Type -> @-Error:Data -> @-O:Type -> @-take:(@_:F -> Pair(F, 0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E>)) -> @-put:(@_:F -> @_:0x7e321819d0ff210531780719c7674cef/event_stream.Stream<S, E> -> F) -> @-runner:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P> -> @_:0x7e321819d0ff210531780719c7674cef/event_runtime.Input<E, A> -> 0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, P>, Error, O>) -> @result:Pair(RunResult<S, C, R, P, E, F, A, Error, O, take, put, runner>, 0x7e321819d0ff210531780719c7674cef/trace_facts.State) -> ContextRunResult<S, C, R, P, E, F, A, Error, O, take, put, runner>

Advanced transport from traced route result to context form, preserving all actual owners and completion; does not execute or acknowledge another reader.