OrdinaryLifetimeScope.provide: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/ordinary_lifetime_scope.bend as OrdinaryLifetimeScope Lines 95-102 of bendvy-ecs-core@0.1.0.4/ordinary_lifetime_scope.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.4/ordinary_lifetime_scope.bend&start_line=95&end_line=102 import Base import bendvy-ecs-core@0.1.0.4/lifetime_scope.bend as Sc import bendvy-ecs-core@0.1.0.4/world.bend as W import bendvy-ecs-core@0.1.0.4/relation_commands.bend as A import bendvy-ecs-core@0.1.0.4/relation_failure_reader.bend as Rel import bendvy-ecs-core@0.1.0.4/capabilities.bend as Cap import bendvy-ecs-core@0.1.0.4/transaction.bend as T # Trusted system-construction adapter for the canonical transaction owner. # Supplies spawn/cleanup operations using the closed populate, clear, record and # relation declarations. populate receives the full World at deferred application; # clear must match its Clear declaration, and relation declarations must cover the # links cleanup is expected to maintain. These callbacks are schema/engine setup, # not extra runtime authority exposed to the polymorphic gameplay body. def provide(~S:Data,~C:Type,~R:Type,~E:Data,~P:Type,~populate:W.World>,R,A.Notice> -> W.Handle -> P -> W.World>,R,A.Notice>,~clear:C -> W.Handle -> C & List<&2,A.Notice>,~record:W.Handle -> A.Notice,~declarations:List<&2,Rel.Declaration>) -> Ops>,R,A.Notice>,A.Notice>,S,P>: Ops{Cap.OwnedRequest{spawn_request(~S,~C,~R,~E,~P,~populate)},Cap.Request{cleanup_request(~S,~C,~R,~E,~clear,~record,~declarations)}} Uses (14): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List 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/capabilities.bend&name=OwnedRequest https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/capabilities.bend&name=Request https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/lifetime_scope.bend&name=Store https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/ordinary_lifetime_scope.bend&name=Ops https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/ordinary_lifetime_scope.bend&name=cleanup_request https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/ordinary_lifetime_scope.bend&name=spawn_request https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/relation_commands.bend&name=Notice https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/relation_commands.bend&name=Store https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/relation_failure_reader.bend&name=Declaration https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/transaction.bend&name=Tx https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/world.bend&name=Handle https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/world.bend&name=World