Simple event channel for batching and consuming events 用于批处理和消费事件的简单事件通道
Check if channel has events 检查通道是否有事件
Get current queue size 获取当前队列大小
Clear all events without processing 清空所有事件而不处理
Consume all events and clear the queue 逐条消费所有事件并清空队列
Emit an event to the channel 向通道发出事件
Take all events and clear the queue (for batch processing) 取出所有事件并清空队列(用于批处理)
Simple event channel for batching and consuming events 用于批处理和消费事件的简单事件通道