本文介绍了Vb.net async webrequest的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 嘿! 我想知道是否有人可以帮助我: 我有调用函数的ajax请求 在该函数中我创建了一个对酒店API的Web请求 响应包含30个结果 我想将结果返回给View并启动immediatley另一个ajax请求,该请求使用web worker调用一个函数,该函数获取其余的500个结果并将其保存在数据库中 这个函数应该只是调用但是还没有等待完成 我希望我解释它不要太困惑:) 非常感谢提前 干杯解决方案 Hey!I was wondering if someone can help me with that:I have a ajax request that calls a functionin that function I create a web request to a hotel APIthe response contains 30 results I would like to return the results to the View and start immediatley another ajax request that calls a function with a web worker which gets the rest of the eg 500 results and save them in a databasethis function should be just called but not been waited to be finishedI hope I explained it not too confused:)thanks a lot in advanceCheers 解决方案 这篇关于Vb.net async webrequest的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
11-02 19:34