/** * {{titleCase name}} Activities * * Activities handle non-deterministic operations: * API calls, database queries, external services, etc. * * Log with `log` from @temporalio/activity: it carries the activity context and * reaches the platform logger the worker installs — never the console. */ import { log } from "@temporalio/activity"; /** * Generate a greeting message */ export async function greet(name: string): Promise { log.info("Generating greeting", { name }); return `Hello, ${name}!`; }