drain property
Consumes the unread messages, oldest first. Never throws; an empty list means "nothing arrived".
Implementation
final Future<List<AgentMessage>> Function() drain;
Consumes the unread messages, oldest first. Never throws; an empty list means "nothing arrived".
final Future<List<AgentMessage>> Function() drain;