Type representing a function for receiving messages.
The return type of the receive operation, defaults to void.
The incoming message to process.
A promise resolving to the result of the receive operation, or the result directly.
Type representing a function for receiving messages.