def restore_resource

bendvy-ecs-core@0.1.0.4 · ordinary_app_registration_fields.bend:62

import bendvy-ecs-core@0.1.0.4/ordinary_app_registration_fields.bend as OrdinaryAppRegistrationFields
import Base
import bendvy-ecs-core@0.1.0.4/world.bend as W
import bendvy-ecs-core@0.1.0.4/system.bend as Sys
import bendvy-ecs-core@0.1.0.4/ordinary_resource_system.bend as Resource
import bendvy-ecs-core@0.1.0.4/ordinary_query_declaration.bend as Query

62def restore_resource(~S:Data,~C:Type,~R:Type,~E:Data,~Args:Type,~Error:Data,~Out:Type,~runner:W.World<S,C,R,E> -> Args -> Sys.Outcome<W.World<S,C,R,E>,Error,Out>,~mode:Query.Mode,token:Token<Sys.Registry<S,C,R,E,Args,Error,Out,runner>>,fields:Fields<S>) -> Resource.Owner<S,Sys.Registry<S,C,R,E,Args,Error,Out,runner>,mode>:
63  match token:
64    case Token{}:restored_resource(~S,~C,~R,~E,~Args,~Error,~Out,~runner,~mode,fields)

Uses (8)

Used by (0)

No other definition uses this definition.