Skip to main content
Module

x/fresh_seo/src/deps.ts>FakeTime.restoreFor

The fastest way ⚡️ to create sitemap and robots.txt in your Deno Fresh project 🍋
Latest
method FakeTime.restoreFor
import { FakeTime } from "https://deno.land/x/fresh_seo@1.0.1/src/deps.ts";

Restores real time temporarily until callback returns and resolves.

Parameters

callback: (...args: any[]) => Promise<T> | T
...args: any[]

Returns

Promise<T>