4 lines
203 B
TypeScript
4 lines
203 B
TypeScript
|
import { Message, Response } from "./messages";
|
||
|
|
||
|
export type AdaptorSubscribeTypeFn = (msg: string) => Promise<string>;
|
||
|
export type RouteSubscribeTypeFn<T, U> = (msg: Message<T>) => Promise<Response<U>>;
|