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

LoaderFunction

Route loader function signature

interface LoaderFunction {
(args: LoaderFunctionArgs): Promise<Response> | Response | Promise<any> | any;
}

§Call Signatures

§
(args: LoaderFunctionArgs):
| Promise<Response>
| Response
| Promise<any>
| any
[src]