Type Alias ReceiveMessageFn<T>

ReceiveMessageFn: (incoming: IIncomingMessage) => Promise<T>

Type representing a function for receiving messages.

Type Parameters

  • T = void

    The return type of the receive operation, defaults to void.

Type declaration