def action_field

bendvy-ecs-core@0.1.0.3 · capabilities.bend:110

import bendvy-ecs-core@0.1.0.3/capabilities.bend as Capabilities
import Base

110# Advanced setup projection extracting the closed operation from its grant.
111# Does not invoke it, access World or grant capabilities beyond that value.
112def action_field(~H: Type,cap: Action<H>) -> H -> H:
113  match cap:
114    case Action{run}: run

Uses (1)

Used by (1)