def handle_get

bendvy-ecs-core@0.1.0.4 · compose.bend:99

import bendvy-ecs-core@0.1.0.4/compose.bend as Compose
import Base
import world.bend as W

99# Return the current detached handle with Frame. This is an identity projection,
100# not a fresh liveness validation or permission to access another entity.
101def handle_get(~S: Data,~Store: Type,~R: Type,~E: Data,frame: Frame<S,Store,R,E>) -> Frame<S,Store,R,E> & W.Handle<S>:
102  match frame:
103    case Frame{tx,+handle,error,cursor}: (Frame{tx,handle,error,cursor},handle)

Uses (4)

Used by (1)