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

LazySchemable

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

Takes an id and a thunk returning a schemable and returns a schemable that matches the return value of the thunk. This schemable is necessary for handling recursive or corecursive schemables.

interface LazySchemable <U extends Kind> extends Hold<U> {
readonly lazy: <A, B, C, D, E>(id: string, f: () => $<U, [A, B, C], [D], [E]>) => $<U, [A, B, C], [D], [E]>;
}

§Type Parameters

§
U extends Kind
[src]

§Extends

§Properties

§
readonly lazy: <A, B, C, D, E>(id: string, f: () => $<U, [A, B, C], [D], [E]>) => $<U, [A, B, C], [D], [E]>
[src]