import { proxyActivities } from '@temporalio/workflow' ; import type * as activities from './activities' ; const { makeHTTPRequest , } = proxyActivities < typeof activities > ( { retry : { initialInterval : '50 milliseconds' , maximumAttempts : 2 , } , startToCloseTimeout : '30 seconds' , } ) ; export async function httpWorkflow ( ) { const answer = await makeHTTPRequest ( ) ; return `The answer is ${ answer }` ; }