internal Task ExitAsync(StateExitArgs <TTrig, TName> value) { return(OnExitAsync == null ? Task.CompletedTask : OnExitAsync.Invoke(value)); }
internal void Exit(StateExitArgs <TTrig, TName> value) { OnExit?.Invoke(value); }