question

Spektra Games avatar image
Spektra Games asked

What is difference between HTTP and Queue Trigger when Registering a Cloud Script Function

I couldn't find any documentation about it. What is difference between HTTP and Queue Trigger for Registering a Cloud Script Function?

CloudScriptFriends
ru3ne.png (30.1 KiB)
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Gosen Gao avatar image
Gosen Gao answered

The HTTP trigger lets you invoke a function with an HTTP request and the function result will return in the response.

The Queue trigger will enqueue the current request to the queue bound to the Azure Function, and then Azure Function will dequeue and process requests in order, you will not receive the function result. For example, you can use Queue trigger for Scheduled Tasks which have long runtime.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.