def handler_adapter
bendvy-ecs-core@0.1.0.3 · execution_deferred_schedule.bend:74
import bendvy-ecs-core@0.1.0.3/execution_deferred_schedule.bend as ExecutionDeferredSchedule
import Base
import bendvy-ecs-core@0.1.0.3/dependency_executor.bend as Exec
74def handler_adapter(~Actual:Type,~Error:Data,~handler:Actual -> Error -> Actual & Exec.Handling,context:Context<Actual>,error:Error) -> Context<Actual> & Exec.Handling:
75 match context:
76 case Context{state,unapplied,syncs,trace}:handled(~Actual,syncs,unapplied,trace,handler(state,error))