/** * A function that returns a promise. * * @template T The type of the promise. * @example PromiseFactory // () => Promise */ type PromiseFactory = () => Promise; export type { PromiseFactory };