def choose_channel_generic

bendvy-ecs-core@0.1.0.3 · execution_lifecycle_notices.bend:50

import bendvy-ecs-core@0.1.0.3/execution_lifecycle_notices.bend as ExecutionLifecycleNotices
import Base

50def choose_channel_generic(-S:Data,found:Bool,channel:Channel<S>,other:Channel<S>) -> Channel<S>:
51  match found:
52    case True{}:channel
53    case False{}:other

Uses (2)

Used by (2)