import { proxyActivities } from '@temporalio/workflow'; import type * as activities from './activities'; const { logTime } = proxyActivities({ startToCloseTimeout: '1 minute', }); /** A workflow that simply calls an activity */ export async function scheduledWorkflow(name: string): Promise { await logTime(name, '' + Date.now()); }