// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
import timers from "node:timers";

export const setTimeout = timers.promises.setTimeout;
export const setImmediate = timers.promises.setImmediate;
export const setInterval = timers.promises.setInterval;

export const scheduler = timers.promises.scheduler;

export default {
  setTimeout,
  setImmediate,
  setInterval,
  scheduler,
};