简体   繁体   English

Azure function HTTP 触发器

[英]Azure function HTTP Trigger

A question, could not find the answer.一个问题,找不到答案。 When I send a large array from a webpage to an Azure HTTP Trigger function does that function keep running until it is finished. When I send a large array from a webpage to an Azure HTTP Trigger function does that function keep running until it is finished. Even when I would close the webpage before the function is finished processing my array or do I need to keep the webpage open and wait for the function to end?即使我会在 function 完成处理我的数组之前关闭网页,还是我需要保持网页打开并等待 function 结束?

Once the webpage has finished with the request to the Azure Function the Function will do the processing of the array independently from the webpage.一旦网页完成对 Azure Function 的请求,Function 将独立于网页处理数组。 So yes, the function keeps running even when the webpage is closed.所以是的,即使网页关闭,function 也会继续运行。 The request is solely a trigger to start the function.该请求只是启动 function 的触发器。

If you do want to react on the client aborting the request see this Q&A如果您确实想对中止请求的客户端做出反应,请参阅此问答

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM