-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Description
Describe the problem
A function that runs when we receive a response/result from a remote function. It’s useful to perform some validation after receiving the result.
Example: If there’s an error, show a toast or some kind of message.
This helps prevent infinite loops for new Svelte developers who might try to use $effect
to handle the result.

Describe the proposed solution
formFunction.onResult = (result) => {
console.log(result);
// Do something here
};
Importance
nice to have
Metadata
Metadata
Assignees
Labels
No labels