question

Ethan K. G avatar image
Ethan K. G asked

Get result from a queued Azure function

This is the response when a player calls a queued Azure function:

"FunctionResult": {
        "StatusCode": "Accepted",
        "QueueName": "MyQueueName"
    },

I'm wondering if there is a way to get the actual result from the queued Azure function?

Azure SignalR Service can send notification from server to client. Is it possible to get the function result by integrating SignalR Service into the Azure Function App? Any recommendation or hint is apprecated.

CloudScriptentities
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

·
Sarah Zhang avatar image
Sarah Zhang answered

As this thread -- How to get FunctionExecutionContext inside queue function AzureFunction? - Playfab Community mentioned, the Queued functions are indeed designed to be used with PlayStream actions where there is no external caller and so not having a return value doesn't matter.

If you want to use other Azure services, such as Azure SignalIR to notify users of the function results, you can check the Azure documentations -- Azure Functions SignalR Service output binding | Microsoft Docs for more information. Besides, if you have other technical questions about integrating Azure Functions with Azure SignalIR, we suggest you directly contact Azure Support for the professional help.

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.