ReceiveMessageFn

type ReceiveMessageFn<T = void> = (incoming: IIncomingMessage) => Promise<T>;

Type representing a function for receiving messages.