using SVSim.BattleNode.Protocol; namespace SVSim.BattleNode.Sessions.Dispatch.Handlers; internal sealed class ForwardWhenBothReadyHandler : IFrameHandler { public IReadOnlyList Handle(FrameDispatchContext ctx) { if (ctx.BothAfterReady()) return new[] { new DispatchRoute(ctx.Other, ctx.Env, false) }; return Array.Empty(); } }