~/bend-docscommunity

system_cleanup.bend checks

raw source on the hub · import bendvy-ecs-core@0.1.0.7/system_cleanup.bend as System_cleanup

3 imports
import Base
import world.bend as W
import system.bend as Sys

Types

type Instance source · line 7 · raw

@S:Data -> @C:Type -> @R:Type -> @E:Data -> @Args:Type -> @Error:Data -> @Output:Type -> @-run:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, E> -> @_:Args -> 0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, E>, Error, Output>) -> @Ports:Type -> Type

Existing registration and every schema-authored affine reader owner travel together. Closed adapter templates are trusted resource integrations; no affine capture.

type Cleanup source · line 9 · raw

@S:Data -> @C:Type -> @R:Type -> @E:Data -> @Args:Type -> @Error:Data -> @Output:Type -> @-run:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, E> -> @_:Args -> 0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, E>, Error, Output>) -> @Ports:Type -> Type

Templates

template disposal_result source · line 14 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-Args:Type -> @-Error:Data -> @-Output:Type -> @-run:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, E> -> @_:Args -> 0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, E>, Error, Output>) -> @-Ports:Type -> @-remove:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, E> -> @_:Ports -> 0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, E>) -> @ports:Ports -> @result:0x7e321819d0ff210531780719c7674cef/system.Disposal<S, C, R, E, Args, Error, Output, run> -> Cleanup<S, C, R, E, Args, Error, Output, run, Ports>

The sole place which removes positions is the accepted existing Sys.Disposed arm.

template ports_checked source · line 19 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-Args:Type -> @-Error:Data -> @-Output:Type -> @-run:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, E> -> @_:Args -> 0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, E>, Error, Output>) -> @-Ports:Type -> @-remove:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, E> -> @_:Ports -> 0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, E>) -> @registry:0x7e321819d0ff210531780719c7674cef/system.Registry<S, C, R, E, Args, Error, Output, run> -> @world:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, E> -> @observed:Pair(Ports, Bool) -> Cleanup<S, C, R, E, Args, Error, Output, run, Ports>

template identified source · line 24 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-Args:Type -> @-Error:Data -> @-Output:Type -> @-run:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, E> -> @_:Args -> 0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, E>, Error, Output>) -> @-Ports:Type -> @-validate:(@_:Ports -> @_:U32 -> @_:U32 -> Pair(Ports, Bool)) -> @-remove:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, E> -> @_:Ports -> 0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, E>) -> @ports:Ports -> @world:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, E> -> @namespace:U32 -> @observed:Pair(0x7e321819d0ff210531780719c7674cef/system.Registry<S, C, R, E, Args, Error, Output, run>, U32) -> Cleanup<S, C, R, E, Args, Error, Output, run, Ports>

template namespaced source · line 28 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-Args:Type -> @-Error:Data -> @-Output:Type -> @-run:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, E> -> @_:Args -> 0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, E>, Error, Output>) -> @-Ports:Type -> @-validate:(@_:Ports -> @_:U32 -> @_:U32 -> Pair(Ports, Bool)) -> @-remove:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, E> -> @_:Ports -> 0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, E>) -> @instance:Instance<S, C, R, E, Args, Error, Output, run, Ports> -> @observed:Pair(0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, E>, U32) -> Cleanup<S, C, R, E, Args, Error, Output, run, Ports>

template cleanup source · line 32 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-Args:Type -> @-Error:Data -> @-Output:Type -> @-run:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, E> -> @_:Args -> 0x7e321819d0ff210531780719c7674cef/system.Outcome<0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, E>, Error, Output>) -> @-Ports:Type -> @-validate:(@_:Ports -> @_:U32 -> @_:U32 -> Pair(Ports, Bool)) -> @-remove:(@_:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, E> -> @_:Ports -> 0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, E>) -> @instance:Instance<S, C, R, E, Args, Error, Output, run, Ports> -> @world:0x7e321819d0ff210531780719c7674cef/world.World<S, C, R, E> -> Cleanup<S, C, R, E, Args, Error, Output, run, Ports>