我正在尝试使用Actix-Web实现一个HTTP请求处理程序。以下是我的代码的相关部分: type Result = Box<Future<Item = HttpResponse,我收到以下错误消息:
error[E0477]: the type `mymod::futures::AndThen<mymod::futures
经过分析,Spring批处理作业似乎在作业完成前作为发送到客户端的响应异步运行。但是我需要在任务执行完成后向客户发送响应。做得到吗?请帮助解决这个问题。感谢我的主计长代码如下:public class AppRestCtrl {
}
批处理Config文件:public class BatchConfig {
@Autowi