Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/mesozoic/lib/utils.ts>wrapFn

A generic build system for Deno web apps
Go to Latest
function wrapFn
import { wrapFn } from "https://deno.land/x/mesozoic@v1.0.2/lib/utils.ts";

Type Parameters

T extends Array<any>
U

Parameters

fn: (...args: T) => U
optional
before: (...args: T) => void
optional
after: (result: U, ...args: T) => void