import { CronHumanDescriptionGateway } from "../gateways" ; export class GetHumanReadableDescription { private _cronHumanExpressionGateway : CronHumanDescriptionGateway ; constructor ( cronHumanExpressionGateway ) { this . _cronHumanExpressionGateway = cronHumanExpressionGateway ; } public async execute ( schedule ) { return this . _cronHumanExpressionGateway . getHumanReadableDescription ( schedule ) ; } }