Server Function
RU: Server Function
An async function marked with the 'use server' directive that executes exclusively on the server but can be called from a client component as if it were a regular function. The framework replaces it with a network stub; the client serializes arguments into an HTTP request, the server executes the function and returns a serialized result. When passed to a form action it is called a Server Action.