internal/relation_failures/domains.bend checks
raw source on the hub · import bendvy-ecs-core@0.1.0.6/internal/relation_failures/domains.bend as Domains
3 imports
import Base import queue.bend as Q import ../../event_runtime.bend as Ev
Types
type DescriptorKey source · line 6 · raw
@S:Data -> Data
Schema-owned descriptor IDs; a key's readers never hold another key's log.
DeclaredKey@S:Data -> @id:U32 -> DescriptorKey<S>
type Domain source · line 8 · raw
@S:Data -> @E:Data -> Data
Domain@S:Data -> @E:Data -> @key:DescriptorKey<S> -> @queue:0x14a72e1c180a5ab1f8a056d43822425c/internal/relation_failures/queue.Queue<E> -> @readers:List<&2, U32> -> Domain<S, E>
Definitions
def member source · line 15 · raw
@ids:List<&2, U32> -> @+wanted:U32 -> Bool
def add_checked source · line 20 · raw
@found:Bool -> @ids:List<&2, U32> -> @id:U32 -> List<&2, U32>
def add source · line 25 · raw
@+ids:List<&2, U32> -> @+id:U32 -> List<&2, U32>
def select_boundary source · line 28 · raw
@registered:Bool -> @+cursor:Nat -> @boundary:Nat -> Nat
def boundary source · line 33 · raw
@positions:List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/event_runtime.Position> -> @+ids:List<&2, U32> -> @acc:Nat -> Nat
Templates
template key_equal source · line 11 · raw
@-S:Data -> @left:DescriptorKey<S> -> @right:DescriptorKey<S> -> Bool
template trim_domain source · line 38 · raw
@-S:Data -> @-E:Data -> @domain:Domain<S, E> -> @+positions:List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/event_runtime.Position> -> @fallback:Nat -> @capacity:Nat -> Domain<S, E>
template trim source · line 42 · raw
@-S:Data -> @-E:Data -> @domains:List<&2, Domain<S, E>> -> @+positions:List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/event_runtime.Position> -> @+fallback:Nat -> @+capacity:Nat -> List<&2, Domain<S, E>>
template activate_domain source · line 47 · raw
@-S:Data -> @-E:Data -> @same:Bool -> @domain:Domain<S, E> -> @id:U32 -> Domain<S, E>
template activate_walk source · line 52 · raw
@-S:Data -> @-E:Data -> @same:Bool -> @domain:Domain<S, E> -> @+rest:List<&2, Domain<S, E>> -> @id:U32 -> @ih:(@_:Unit -> List<&2, Domain<S, E>>) -> List<&2, Domain<S, E>>
template activate_one source · line 57 · raw
@-S:Data -> @-E:Data -> @domains:List<&2, Domain<S, E>> -> @+wanted:DescriptorKey<S> -> @+id:U32 -> List<&2, Domain<S, E>>