Time Controller
yarn add @sudoo/time # Or npm install @sudoo/time --save
import { Duration } from "@sudoo/time"; const duration: Duration = Duration.of({ minutes: 5, }); setTimeout(() => { executeThisAfterFiveMinutes(); }, duration.toMilliseconds());