import { hooks } from "https://deno.land/x/hooks@v0.9.0/src/index.ts";
Add hooks to one or more methods on an object or class.
Parameters
hookMap: HookMap<O> | AsyncMiddleware[]
A map of middleware settings where the key is the method name.
import { hooks } from "https://deno.land/x/hooks@v0.9.0/src/index.ts";
Add hooks to one or more methods on an object or class.
A map of middleware settings where the key is the method name.