Replies: 1 comment 1 reply
-
|
sp_invoke_external_rest_endpoint is also synchronous. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I’m not sure if this idea makes sense (it does in my head, but I’m open to discussion).
As far as I know, with DAB we can expose stored procedures that may take time to finish. Since it’s a synchronous API, that means I need to keep the connection open until the stored procedure completes.
Wouldn’t it be useful to have the option to flag the API as “async”?
That way, I could support parallelization scenarios (even directly in SQL Server 2025 using sp_invoke_external_rest_endpoint), while letting the database do the work and only polling occasionally for the processing status.
Beta Was this translation helpful? Give feedback.
All reactions