def replace_channel_generic

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

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

61def replace_channel_generic(-S:Data,found:Bool,value:Channel<S>,current:Channel<S>,rest:List<&2,Channel<S>>,replaced:List<&2,Channel<S>>) -> List<&2,Channel<S>>:
62  match found:
63    case True{}:value <> rest
64    case False{}:current <> replaced

Uses (3)

Used by (2)