Skip to main content
Module

x/cav/mod.ts>rpcInit

A server framework for Deno
Go to Latest
function rpcInit
import { rpcInit } from "https://deno.land/x/cav@0.0.21/mod.ts";

Constructs a new RpcInit. This simply returns the first argument, it's only provided for typing purposes so that you don't need to manually specify the types when extracting out an spreadable RpcInit object. Use this to stay DRY.

Type Parameters

Resp
Groups extends AnyParser | null
Context extends AnyCtx | null
Query extends AnyParser | null
Message extends AnyParser | null
Upgrade extends boolean | null
I