You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The return value works if the function app is in C# in-process mode.
During debug, I've found that the SignalR Microsoft.Azure.WebJobs.Host.Triggers.ITriggerData.ReturnValueProvider.SetValueAsync(object value, CancellationToken cancellationToken) is always invoked with parameter value=null with isolated worker.
Anyone could provide some hints on how to troubleshoot the problem? @brettsam@fabiocav
The text was updated successfully, but these errors were encountered:
Y-Sindo
changed the title
With isolated worker, value passed to ITriggerData.ReturnValueProvider.SetValueAsync() is always null even though $return is defined in binding data contract
In isolated worker, value passed to ITriggerData.ReturnValueProvider.SetValueAsync() is always null even though $return is defined in binding data contract
Sep 18, 2024
Y-Sindo
changed the title
In isolated worker, value passed to ITriggerData.ReturnValueProvider.SetValueAsync() is always null even though $return is defined in binding data contract
How to bind function return value to trigger in isolated worker?
Sep 20, 2024
Original issue: Azure/azure-functions-dotnet-worker#1496
Repro steps
Provide the steps required to reproduce the problem
Expected behavior
The client code as follows should get the return value from the function, instead of a null.
And the client should print out the return value "This is message from SignalRTrigger" returned by function app code
Actual behavior
The variable
responseFromServer
is always null.Known workarounds
No
Related information
Provide any related information
The return value works if the function app is in C# in-process mode.
During debug, I've found that the SignalR
Microsoft.Azure.WebJobs.Host.Triggers.ITriggerData.ReturnValueProvider.SetValueAsync(object value, CancellationToken cancellationToken)
is always invoked with parametervalue=null
with isolated worker.Anyone could provide some hints on how to troubleshoot the problem? @brettsam @fabiocav
The text was updated successfully, but these errors were encountered: