Skip to main content
Deno 2 is finally 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.0-beta.1/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