import { Context } from '@temporalio/activity' ; export async function logTime ( name , wfTime ) { const { workflowExecution } = Context . current ( ) . info ; console . log ( `Hello from ${ workflowExecution . workflowId }, ${ name }!` ) ; console . log ( `Workflow time: ` , wfTime ) ; console . log ( `Activity time: ` + Date . now ( ) ) ; }