trace_facts.bend checks
raw source on the hub · import 0x67fd5084c1da4adc13317822045bb11f/trace_facts.bend as Trace_facts
1 import
import Base
Types
type Category source · line 3 · raw
Data
Detached operation data. Affine ECS owners never enter this journal.
ComponentValueCategory
ResourceValueCategory
EventValueCategory
NextStateValueCategory
DeferredCommandCategory
RelationOperationCategory
TransitionHandlerCategory
MissedValueCategory
type Operation source · line 12 · raw
Data
ReadOperationOperation
WriteOperationOperation
RemoveOperationOperation
SendOperationOperation
StageOperationOperation
ApplyOperationOperation
HandlerOperationOperation
type FactResult source · line 20 · raw
Data
AttemptedFactResult
AppliedFactResult
Refused@reason:String -> FactResult
RolledBackFactResult
type Value source · line 25 · raw
Data
OpaqueValueValue
DisplayedValue@text:String -> Value
type HandleValue source · line 29 · raw
Data
HandleValue@namespace:U32 -> @index:U32 -> @generation:U32 -> HandleValue
type RelationKind source · line 31 · raw
Data
OrdinaryRelationRelationKind
HierarchyRelationRelationKind
type RelationIdentity source · line 34 · raw
Data
RelationIdentity@id:U32 -> @name:String -> @inverseName:String -> @kind:RelationKind -> RelationIdentity
type RelationAction source · line 36 · raw
Data
RelateAction@target:HandleValue -> RelationAction
UnrelateActionRelationAction
ReorderAction@children:List<&2, HandleValue> -> RelationAction
type HandlerPhase source · line 40 · raw
Data
ExitPhaseHandlerPhase
TransitionPhaseHandlerPhase
EnterPhaseHandlerPhase
InitialEnterPhaseHandlerPhase
type Boundary source · line 45 · raw
Data
PhaseBoundary@name:String -> Boundary
BarrierEnteredBoundary
BarrierFinishedBoundary
type Fact source · line 49 · raw
Data
ReaderFact@namespace:U32 -> @id:U32 -> @name:String -> @readerId:U32 -> @domain:String -> @lagged:Bool -> Fact
BoundaryFact@boundary:Boundary -> Fact
Fact@category:Category -> @key:String -> @operation:Operation -> @subject:Maybe<&2, String> -> @before:Value -> @after:Value -> @result:FactResult -> Fact
RelationFact@identity:RelationIdentity -> @operation:Operation -> @source:HandleValue -> @action:RelationAction -> @result:FactResult -> Fact
HandlerFact@namespace:U32 -> @id:U32 -> @name:String -> @ordinal:U32 -> @phase:HandlerPhase -> @from:Value -> @to:Value -> @result:FactResult -> Fact
TransitionFact@key:String -> @from:Value -> @to:Value -> @result:FactResult -> Fact
type State source · line 56 · raw
Data
OffState
On@reverseFacts:List<&2, Fact> -> State
Definitions
def enabled source · line 59 · raw
@state:State -> Bool
def append source · line 63 · raw
@state:State -> @fact:Fact -> State
def facts source · line 67 · raw
@state:State -> List<&2, Fact>
def annotate_newest source · line 71 · raw
@state:State -> @before:Value -> @after:Value -> State
def settled_result source · line 81 · raw
@result:FactResult -> @committed:Bool -> FactResult
def settle_facts source · line 86 · raw
@facts:List<&2, Fact> -> @+committed:Bool -> List<&2, Fact>
def settle source · line 95 · raw
@state:State -> @committed:Bool -> State
def phase_boundary source · line 100 · raw
@state:State -> @name:String -> State
def barrier_entered source · line 104 · raw
@state:State -> State
def barrier_finished source · line 108 · raw
@state:State -> State