def resource_field
import bendvy-ecs-core@0.1.0.4/ordinary_app_execution_run.bend as OrdinaryAppExecutionRunimport Base
import bendvy-ecs-core@0.1.0.4/execution_context.bend as Ctx
import bendvy-ecs-core@0.1.0.4/system.bend as Sys
import bendvy-ecs-core@0.1.0.4/world.bend as W
import bendvy-ecs-core@0.1.0.4/ordinary_app_registration_run.bend as Run
import bendvy-ecs-core@0.1.0.4/transaction.bend as T
import bendvy-ecs-core@0.1.0.4/ordinary_resource_field_system.bend as Field
import bendvy-ecs-core@0.1.0.4/ordinary_app_resource_field_declaration.bend as D
import bendvy-ecs-core@0.1.0.4/ordinary_app_registration_fields.bend as Records
40def resource_field(~S:Data,~C:Type,~R:Type,~E:Data,~Ops:Type -> Type,~Args:Type,~Error:Data,~Out:Type,~Value:Data,~declaration:D.Declaration<S,C,R,E,Ops,Value>,~body:@-H:Type -> @-caps:Ops(H) -> Args -> H -> H & (T.Outcome<Error> & Out),token:Records.Token<Sys.Registry<S,C,R,E,Args,Error,Out,Field.runner(~S,~C,~R,~E,~Ops,~Args,~Error,~Out,~D.ordinary(~S,~C,~R,~E,~Ops,~Value,declaration),~body)>>,fields:Records.Fields<S>,context:Ctx.Context<W.World<S,C,R,E>>,args:Args) -> Run.TransportResult<S,Ctx.Context<W.World<S,C,R,E>>,Args,Error,Out,Records.Token<Sys.Registry<S,C,R,E,Args,Error,Out,Field.runner(~S,~C,~R,~E,~Ops,~Args,~Error,~Out,~D.ordinary(~S,~C,~R,~E,~Ops,~Value,declaration),~body)>>>:
41 match context:
42 case Ctx.Context{world,trace}:returned(~S,~W.World<S,C,R,E>,~Args,~Error,~Out,~Records.Token<Sys.Registry<S,C,R,E,Args,Error,Out,Field.runner(~S,~C,~R,~E,~Ops,~Args,~Error,~Out,~D.ordinary(~S,~C,~R,~E,~Ops,~Value,declaration),~body)>>,resource_transport(~S,~C,~R,~E,~Ops,~Args,~Error,~Out,~Value,~declaration,~body,token,fields,trace,world,args))
Uses (13)
Used by (0)
No other definition uses this definition.