MessageConsumer: (<TMessage>(message) => void)

A message consumer is a function without a return type that takes a single message as an input.

Type declaration