def resource
import bendvy-ecs-core@0.1.0.3/ordinary_schema.bend as OrdinarySchemaimport Base
19# Declare a resource key for schema S and payload P. No payload is allocated
20# or provisioned and duplicate keys are not checked until schema validation.
21def resource(~S:Data,~P:Type,key:String) -> Resource<S,P>:
22 Resource{key}
Uses (2)
Used by (0)
No other definition uses this definition.