import { hooks } from "https://deno.land/x/netzo@0.4.72/deps/@feathersjs/hooks.ts";
Returns a new function that wraps an existing async function with hooks.
Parameters
fn: F & (() => void)
The async function to add hooks to.
optional
manager: HookManagerAn array of middleware or hook settings
(middleware([]).params()
etc.)
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.
Decorate a class method with hooks.
Parameters
optional
manager: HookOptionsThe hooks settings