10. Frontend Execution
executeFrontedFunction(userId, content)
async· returnsvoid
Calls a frontend function on behalf of a user from a backend trigger. Allows backend code to push UI actions to a specific logged-in user's session.
Prop
Type
const payload = {
action: "uiProcess",
functionName: "RefreshProject",
params: context.record
};
await context.functions.executeFrontedFunction(
context.user.id,
JSON.stringify(payload)
);