RestoreRuntime.prepared: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/restore_runtime.bend as RestoreRuntime Lines 34-37 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=34&end_line=37 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/restore_world.bend as Adapter import bendvy-ecs-core@0.1.0.4/snapshot_data.bend as Snapshot 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 prepared(~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>,runtime:Route.Runtime,E,Family.State>,result:R.Prepared) -> Route.Runtime,E,Family.State> & (Public.Owner,State,Custom,stage,release,clear,insert,Recovery,commit,takeRecovery> & (Public.Outcome & (Recovery & Maybe<&1,Receipt>))): match runtime result: case Route.Runtime{world,family,tick} R.Refused{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,None{},Public.run_returned(~S,~C,~Product.Owner,~E,~State,~Custom,~stage,~release,~clear,~insert,~Recovery,~commit,~takeRecovery,schema,Apply.Refused{world,state,input,error})) case Route.Runtime{world,family,tick} R.BendvyReady{state,Snapshot.Snapshot{+version,+floor,+entities,+resources}}:roomed(~S,~C,~User,~Logs,~E,~F,~EventOwners,~Receipt,~State,~Custom,~stage,~release,~clear,~insert,~emit,~retain,~drain,~clearStreams,~catalog,~sync,~Recovery,~commit,~takeRecovery,schema,state,Snapshot.Snapshot{version,floor,entities,resources},family,tick,floor,Adapter.room(~S,~C,~Product.Owner,~E,world,floor,Apply.count_entities(entities))) Uses (27): 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_apply.bend&name=count_entities 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_data.bend&name=Prepared 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_runtime.bend&name=roomed 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/restore_world.bend&name=room https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/snapshot_data.bend&name=Snapshot https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/world.bend&name=Handle