8283e05c02
All checks were successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
6 lines
216 B
TypeScript
6 lines
216 B
TypeScript
import type { Request, Response } from "./messages.ts";
|
|
|
|
export type AdaptorSubscribeTypeFn = (msg: string) => Promise<string>;
|
|
export type RouteSubscribeTypeFn<T, U> = (
|
|
msg: Request<T>,
|
|
) => Promise<Response<U>>;
|