UNPKG

@paroicms/server-image-cache-engine

Version:

The image variant engine that we use at Paroi.

10 lines 364 B
import { promiseToHandle } from "@paroi/async-lib"; export function promiseToHandleSafely() { const result = promiseToHandle(); result.promise.catch(() => { // No-op: errors are logged in the task processor, and the promise can be used by the caller but // it's optional. }); return result; } //# sourceMappingURL=owner-utils.js.map