# Consumer ## **Overview** **Related Modules:** [Broadcast](broadcast.md) **Description:** Defines the topic consumer used to receive events and push data. You need to implement this struct for your application. ## **Summary** ## Data Fields
const Identity * |
|
Notify )(Consumer *consumer, const Topic *topic, const Request *origin) |
Defines how the consumer will process the events or data of a released topic. |
current | Indicates the pointer to the current consumer. |
other | Indicates the pointer to the target consumer to compare. |
consumer | Indicates this pointer of the consumer. |
topic | Indicates the pointer to the topic to be processed. |
origin | Indicates the pointer to the data to be processed. |