type ReceiveMessageFn<T = void> = (incoming: IIncomingMessage) => Promise<T>; Copy
type ReceiveMessageFn<T = void> = (incoming: IIncomingMessage) => Promise<T>;
Type representing a function for receiving messages.