import type { Request, Response } from "./messages.ts"; export type AdaptorSubscribeTypeFn = (msg: string) => Promise; export type RouteSubscribeTypeFn = ( msg: Request, ) => Promise>;