def lifecycle

bendvy-ecs-core@0.1.0.3 · component.bend:224

import bendvy-ecs-core@0.1.0.3/component.bend as Component
import Base
import lifecycle.bend as L
import column.bend as Col
import world.bend as W

224# Read this component slot's lifecycle stamp while returning World. Invalid live
225# handle validation yields Stamp(None,None); no detached component payload is returned.
226def lifecycle(~S: Data,~Store: Type,~R: Type,~E: Data,~Rest: Type,~C: Type,~V: Data,~Token: Data,~take: Store -> Rest & Col.Column<S,C>,~put: Rest -> Col.Column<S,C> -> Store,~project: C -> C & V,family: Family<S,Store,Rest,C,V,Token,take,put,project>,world: W.World<S,Store,R,E>,+handle: W.Handle<S>) -> W.World<S,Store,R,E> & L.Stamp:
227  lifecycle_allowed(~S,~Store,~R,~E,~Rest,~C,~V,~Token,~take,~put,~project,W.valid(~S,~Store,~R,~E,world,handle),handle)

Uses (8)

Used by (1)