import {Communicator, CommunicatorContext} from '@dbos-inc/dbos-sdk'; class CurrentTimeCommunicator { @Communicator() static getCurrentDate(_ctx: CommunicatorContext) : Promise { return Promise.resolve(new Date()); } @Communicator() static getCurrentTime(_ctx: CommunicatorContext) : Promise { return Promise.resolve(new Date().getTime()); } } export { CurrentTimeCommunicator, CurrentTimeCommunicator as CurrentTimeStep, }