import { EnlaceServer } from "../server.ts" ; import { GenericEndpointInput } from "./endpoint_input.ts" ; /**
 * Describe the parameters and behavior of the endpoint regardless of whether
 * the form of the endpoint is a function or a class.
 */ export interface Endpoint { param input receive ( input ) : any | Promise < any > ; } export function isEndpoint ( obj ) { return typeof obj === "object" ; }