Server Action steps - (a)synchronous?

In a thread earlier today (now closed), @George mentioned:

All Server Action steps ARE asynchronous!

I've always understood that server actions steps run in sequence - the next step only running when the previous one has completed - and this has also been my experience. So I assumed they ran synchronously. Are there situations where steps can't be relied on to complete in this way? Hopefully this is not the case, and it's just that I don't understand the implications of George's comment.

They run asynchronous so they don’t slow down NodeJS, but of course are synchronized with Promises, so run in order.

2 Likes

BTW Async actions are only for NodeJS. In other languages as PHP and ASP, or ASP.net - everything runs sequentially - synchronious.

@TomD basically it means that one user won’t block the door for another user. But both of those users will execute their actions in the order you specify.

3 Likes

Thanks for clarifying this - @George and @JonL.

1 Like

A post was split to a new topic: Conditional region questions