When is an API call a synchronous action in Server Action?

In the case when we call the API from the front, it is asynchronous, this is understandable.
What happens if we call the API Action on the server side - will the logic wait for it to complete? In this case it will be a synchronous request?

Yes, it will be a synchronous request, it will wait before executing the next step.

If you’re on NodeJS and want to make an asynchronous request, there’s the Parallel step.

2 Likes

I believe all server API calls are synchronous (I assume unless on a parallel action)

2 Likes