def with_world

bendvy-ecs-core@0.1.0.4 · relation_failure_runtime.bend:149

import bendvy-ecs-core@0.1.0.4/relation_failure_runtime.bend as RelationFailureRuntime
import Base
import internal/relation_failures/domains.bend as D
import world.bend as W

149def with_world(~S: Data,~C: Type,~R: Type,~E: Data,~O: Type,~classify: E -> Maybe<D.DescriptorKey<S>>,effect: W.World<S,C,R,E> -> W.World<S,C,R,E> & O,runtime: Runtime<S,C,R,E>) -> Runtime<S,C,R,E> & O:
150  match runtime:
151    case Runtime{world,domains,positions,tick,frameStart,boundary,capacity,nextReader}: with_world_result(~S,~C,~R,~E,~O,~classify,effect_clocked(~S,~C,~R,~E,~O,effect,W.write_clock(~S,~C,~R,~E,world)),domains,positions,tick,frameStart,boundary,capacity,nextReader)

Uses (8)

Used by (0)

No other definition uses this definition.