refactor: move discord duration formatting onto runtime env

This commit is contained in:
Peter Steinberger
2026-03-28 03:17:12 +00:00
parent c1abf7c8c0
commit 0825ff9619
3 changed files with 11 additions and 6 deletions

View File

@@ -20,7 +20,10 @@ export { isTruthyEnvValue } from "../infra/env.js";
export * from "../logging.js";
export { waitForAbortSignal } from "../infra/abort-signal.js";
export { computeBackoff, sleepWithAbort, type BackoffPolicy } from "../infra/backoff.js";
export { formatDurationPrecise } from "../infra/format-time/format-duration.ts";
export {
formatDurationPrecise,
formatDurationSeconds,
} from "../infra/format-time/format-duration.ts";
export { retryAsync } from "../infra/retry.js";
export { ensureGlobalUndiciEnvProxyDispatcher } from "../infra/net/undici-global-dispatcher.js";
export { registerUnhandledRejectionHandler } from "../infra/unhandled-rejections.js";