import { createHandler } from "https://deno.land/x/composium@v0.0.5/mod.ts";
A curried function which takes Context
class, mainHandlers
, catchHandlers
and finallyHandlers
and returns in the end a Handler
function which can be
passed to listen
.
createHandler(Ctx)(routeGet)(catchHandler)(finallyHandler)
Type Parameters
C extends Context