RestoreRuntime.finished: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/restore_runtime.bend as RestoreRuntime Lines 23-26 of bendvy-ecs-core@0.1.0.4/restore_runtime.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.4/restore_runtime.bend&start_line=23&end_line=26 import Base import bendvy-ecs-core@0.1.0.4/change_tick.bend as Tick import bendvy-ecs-core@0.1.0.4/restore_public.bend as Public import bendvy-ecs-core@0.1.0.4/restore_schema.bend as Schema import bendvy-ecs-core@0.1.0.4/restore_data.bend as R import bendvy-ecs-core@0.1.0.4/restore_apply.bend as Apply import bendvy-ecs-core@0.1.0.4/decode_data.bend as D import bendvy-ecs-core@0.1.0.4/world.bend as W import bendvy-ecs-core@0.1.0.4/event_family_routing.bend as Route import bendvy-ecs-core@0.1.0.4/event_family_runtime.bend as Family import bendvy-ecs-core@0.1.0.4/owned_event_family_catalog.bend as Catalog import bendvy-ecs-core@0.1.0.4/owner_product.bend as Product def finished(~S:Data,~C:Type,~User:Type,~Logs:Type,~E:Data,~F:Type,~EventOwners:Type,~Receipt:Type,~State:Type,~Custom:Data,~stage:State -> R.Position -> D.Field -> State & R.Dispatch,~release:State -> State,~clear:C -> W.Handle -> C & List<&2,R.Change>,~insert:C -> Product.Owner -> State -> List<&2,R.Binding> -> Tick.Tick -> (C & Product.Owner) & State,~emit:R.Change -> E,~retain:Logs -> List<&2,E> -> Logs & Receipt,~drain:Logs -> Logs & Receipt,~clearStreams:F -> F,~catalog:Catalog.Catalog,~sync:F -> Nat -> List<&2,E> -> F,~Recovery:Type,~commit:State -> State,~takeRecovery:State -> State & Recovery,schema:Schema.Schema,State,Custom,stage,release,clear,insert,Recovery,commit,takeRecovery>,family:Family.State,tick:Nat,receipt:Receipt,result:Apply.ApplyResult,E,State,Custom>) -> Route.Runtime,E,Family.State> & (Public.Owner,State,Custom,stage,release,clear,insert,Recovery,commit,takeRecovery> & (Public.Outcome & (Recovery & Maybe<&1,Receipt>))): match result: case Apply.Applied{world,state,bindings}:packed(~S,~C,~User,~Logs,~E,~F,~EventOwners,~Receipt,~State,~Custom,~stage,~release,~clear,~insert,~emit,~retain,~drain,~clearStreams,~catalog,~sync,~Recovery,~commit,~takeRecovery,True{},family,tick,Some{receipt},Public.run_returned(~S,~C,~Product.Owner,~E,~State,~Custom,~stage,~release,~clear,~insert,~Recovery,~commit,~takeRecovery,schema,Apply.Applied{world,state,bindings})) case Apply.Refused{world,state,input,error}:packed(~S,~C,~User,~Logs,~E,~F,~EventOwners,~Receipt,~State,~Custom,~stage,~release,~clear,~insert,~emit,~retain,~drain,~clearStreams,~catalog,~sync,~Recovery,~commit,~takeRecovery,False{},family,tick,Some{receipt},Public.run_returned(~S,~C,~Product.Owner,~E,~State,~Custom,~stage,~release,~clear,~insert,~Recovery,~commit,~takeRecovery,schema,Apply.Refused{world,state,input,error})) Uses (22): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/change_tick.bend&name=Tick https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/decode_data.bend&name=Field https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/event_family_routing.bend&name=Runtime https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/event_family_runtime.bend&name=State https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/owned_event_family_catalog.bend&name=Catalog https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/owner_product.bend&name=Owner https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/restore_apply.bend&name=ApplyResult https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/restore_data.bend&name=Binding https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/restore_data.bend&name=Change https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/restore_data.bend&name=Dispatch https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/restore_data.bend&name=Position https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/restore_public.bend&name=Outcome https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/restore_public.bend&name=Owner https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/restore_public.bend&name=run_returned https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/restore_runtime.bend&name=packed https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/restore_schema.bend&name=Schema https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/world.bend&name=Handle