def declare

bendvy-ecs-core@0.1.0.4 · ordinary_service_declaration.bend:26

import bendvy-ecs-core@0.1.0.4/ordinary_service_declaration.bend as OrdinaryServiceDeclaration
import Base

26# Retain a service identity with closed operational adapters. Does not install P,
27# validate external availability or register a runner. Caller-authored adapters
28# remain trusted; no sharing/cleanup/host-failure recovery protocol is added.
29def declare(~S:Data,~R:Type,~P:Type,~Rest:Type,~take:R -> Rest & Slot<P>,~put:Rest -> Slot<P> -> R,~call:P -> P,id:U32,key:String) -> Declaration<S,R,P,Rest,take,put,call>:
30  Declaration{id,key}

Uses (5)

Used by (0)

No other definition uses this definition.