Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

refresh

import { refresh } from "https://github.gh-proxy.cn/raw.githubusercontent.com/baetheus/fun/main/datum.ts";

Create a Refresh datum with a value.

@example
import { refresh } from "./datum.ts";

const datum = refresh("stale data");
console.log(datum); // { tag: "Refresh", value: "stale data" }
function refresh<D>(value: D): Datum<D>;
§
refresh<D>(value: D): Datum<D>
[src]

§Type Parameters

§Parameters

§
value: D
[src]

§Return Type