def live

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

import bendvy-ecs-core@0.1.0.3/execution_relation_interpreter.bend as ExecutionRelationInterpreter
import Base
import bendvy-ecs-core@0.1.0.3/entity_allocator.bend as A
import bendvy-ecs-core@0.1.0.3/world.bend as W

16def live(~S:Data,+namespace:U32,allocator:A.Allocator,+handle:W.Handle<S>) -> A.Allocator & Bool:
17  match handle:
18    case W.Handle{ns,key}:live_namespace(~S,U32.is_eq(namespace,ns),allocator,W.Handle{ns,key})

Uses (7)

Used by (4)