def grant

bendvy-ecs-core@0.1.0.4 · ordinary_recoverable_array_resource.bend:46

import bendvy-ecs-core@0.1.0.4/ordinary_recoverable_array_resource.bend as OrdinaryRecoverableArrayResource
import Base
import bendvy-ecs-core@0.1.0.4/world.bend as W
import bendvy-ecs-core@0.1.0.4/ordinary_schema.bend as Schema
import bendvy-ecs-core@0.1.0.4/recoverable_array.bend as A

46def grant(~S:Data,~C:Type,~P:Type,~E:Data,~identity:Schema.Resource<S,Array<P>>) -> Write<S,P,identity,Frame<W.World<S,C,Array<P>,E>,List<A.Record<P>>>>:
47  Write{frame_replace(~S,~C,~P,~E),frame_swap(~S,~C,~P,~E)}

Uses (9)

Used by (1)